media_controller_test: Make sure uploader is the Local one

This commit is contained in:
Haelwenn (lanodan) Monnier 2023-08-02 12:36:42 +02:00 committed by Mark Felder
parent 864b767e08
commit de62fd41f7

View file

@ -76,6 +76,7 @@ defmodule Pleroma.Web.MastodonAPI.MediaControllerTest do
end
test "/api/v2/media, upload_limit", %{conn: conn, user: user} do
clear_config([Pleroma.Upload, :uploader], Pleroma.Uploaders.Local)
desc = "Description of the binary"
upload_limit = Config.get([:instance, :upload_limit]) * 8 + 8