commit: 3d0d2a45139286d741007d13a2593ade160f1e9f
parent 2180537a2b92362c75e7d082fea026062fbd4b9b
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Wed, 2 Aug 2023 12:36:42 +0200
media_controller_test: Make sure uploader is the Local one
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/test/pleroma/web/mastodon_api/controllers/media_controller_test.exs b/test/pleroma/web/mastodon_api/controllers/media_controller_test.exs
@@ -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