diff options
author | Mark Felder <feld@feld.me> | 2021-06-04 12:30:10 -0500 |
---|---|---|
committer | Mark Felder <feld@feld.me> | 2021-06-04 12:30:10 -0500 |
commit | f58928cf1c69adf9f16837e0ca86167b38375f94 (patch) | |
tree | 724751ad3f22b7348aa6604b68642b32b1a47068 /test | |
parent | a5dce42c85de2d8316541348335d1dd49c2c3d89 (diff) | |
download | pleroma-f58928cf1c69adf9f16837e0ca86167b38375f94.tar.gz |
Add missing deprecation warning left out of !2842
Diffstat (limited to 'test')
-rw-r--r-- | test/pleroma/config/deprecation_warnings_test.exs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/pleroma/config/deprecation_warnings_test.exs b/test/pleroma/config/deprecation_warnings_test.exs index 15f4982ea..ccf86634f 100644 --- a/test/pleroma/config/deprecation_warnings_test.exs +++ b/test/pleroma/config/deprecation_warnings_test.exs @@ -146,4 +146,14 @@ defmodule Pleroma.Config.DeprecationWarningsTest do "Your config is using old setting name `timeout` instead of `recv_timeout` in pool settings" end end + + test "check_old_chat_shoutbox/0" do + clear_config([:instance, :chat_limit], 1_000) + clear_config([:chat, :enabled], true) + + assert capture_log(fn -> + DeprecationWarnings.check_old_chat_shoutbox() + end) =~ + "Your config is using the old namespace for the Shoutbox configuration." + end end |