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
parent 6e866417ae
commit 9784e659f8
No known key found for this signature in database

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