X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=test%2Fpleroma%2Fweb%2Fcommon_api_test.exs;h=85a4a3a1139afdcd9bcc64420611d8e1b6dcad6c;hb=5b4d77eaa73efad6ac1b46701bf6b39fc117d5b5;hp=20870bdd70ed87b813ea25ba3b4a522fc18d5718;hpb=b0d8a639ee8b7510c685deb38551e398257746e4;p=akkoma diff --git a/test/pleroma/web/common_api_test.exs b/test/pleroma/web/common_api_test.exs index 20870bdd7..85a4a3a11 100644 --- a/test/pleroma/web/common_api_test.exs +++ b/test/pleroma/web/common_api_test.exs @@ -27,6 +27,8 @@ defmodule Pleroma.Web.CommonAPITest do require Pleroma.Constants setup_all do + clear_config([Pleroma.Upload, :uploader], Pleroma.Uploaders.Local) + clear_config([Pleroma.Uploaders.Local, :uploads], "uploads") Tesla.Mock.mock_global(fn env -> apply(HttpRequestMock, :request, [env]) end) :ok end