Add test for check_activity_expiration_config/0
This commit is contained in:
parent
7775b1540f
commit
88653c01c9
|
@ -82,6 +82,14 @@ test "check_hellthread_threshold/0" do
|
||||||
end) =~ "You are using the old configuration mechanism for the hellthread filter."
|
end) =~ "You are using the old configuration mechanism for the hellthread filter."
|
||||||
end
|
end
|
||||||
|
|
||||||
|
test "check_activity_expiration_config/0" do
|
||||||
|
clear_config([Pleroma.ActivityExpiration, :enabled], true)
|
||||||
|
|
||||||
|
assert capture_log(fn ->
|
||||||
|
DeprecationWarnings.check_activity_expiration_config()
|
||||||
|
end) =~ "Your config is using old namespace for activity expiration configuration."
|
||||||
|
end
|
||||||
|
|
||||||
describe "check_gun_pool_options/0" do
|
describe "check_gun_pool_options/0" do
|
||||||
test "await_up_timeout" do
|
test "await_up_timeout" do
|
||||||
config = Config.get(:connections_pool)
|
config = Config.get(:connections_pool)
|
||||||
|
|
Loading…
Reference in New Issue