X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;ds=sidebyside;f=test%2Fpleroma%2Fconfig%2Fdeprecation_warnings_test.exs;h=b18267a7f436be42d9fb01cfb946903f5d793bfb;hb=975bc6d7e87cbd01543bd6d845e43b3f5b67b9f7;hp=12597506bed63dcf5403f43ad3d6351e96e61fd4;hpb=364b6969eb7c79e57ed02345ddff4f48519e6b0a;p=akkoma diff --git a/test/pleroma/config/deprecation_warnings_test.exs b/test/pleroma/config/deprecation_warnings_test.exs index 12597506b..b18267a7f 100644 --- a/test/pleroma/config/deprecation_warnings_test.exs +++ b/test/pleroma/config/deprecation_warnings_test.exs @@ -280,13 +280,13 @@ defmodule Pleroma.Config.DeprecationWarningsTest do "Your config is using the old setting for controlling the URL of media uploaded to your S3 bucket." end - test "check_old_chat_shoutbox/0" do - clear_config([:instance, :chat_limit], 1_000) - clear_config([:chat, :enabled], true) + test "check_http_adapter/0" do + Application.put_env(:tesla, :adapter, Gun) assert capture_log(fn -> - DeprecationWarnings.check_old_chat_shoutbox() - end) =~ - "Your config is using the old namespace for the Shoutbox configuration." + DeprecationWarnings.check_http_adapter() + end) =~ "Your config is using a custom tesla adapter" + + Application.put_env(:tesla, :adapter, Tesla.Mock) end end