media_controller_test: Make sure uploader is the Local one
This commit is contained in:
parent
2180537a2b
commit
3d0d2a4513
@ -76,6 +76,7 @@ defmodule Pleroma.Web.MastodonAPI.MediaControllerTest do
|
|||||||
end
|
end
|
||||||
|
|
||||||
test "/api/v2/media, upload_limit", %{conn: conn, user: user} do
|
test "/api/v2/media, upload_limit", %{conn: conn, user: user} do
|
||||||
|
clear_config([Pleroma.Upload, :uploader], Pleroma.Uploaders.Local)
|
||||||
desc = "Description of the binary"
|
desc = "Description of the binary"
|
||||||
|
|
||||||
upload_limit = Config.get([:instance, :upload_limit]) * 8 + 8
|
upload_limit = Config.get([:instance, :upload_limit]) * 8 + 8
|
||||||
|
Loading…
Reference in New Issue
Block a user