Fix warning during test user_test.exs
Fixed the warning [warning] Please change `clear_config([section], key: value)` to `clear_config([section, key], value)`
This commit is contained in:
parent
c842e62675
commit
9da81f41c6
|
@ -473,12 +473,7 @@ test "it sends a welcome chat message if it is set" do
|
||||||
reject_deletes: []
|
reject_deletes: []
|
||||||
)
|
)
|
||||||
|
|
||||||
setup do:
|
setup do: clear_config([:mrf, :policies], [Pleroma.Web.ActivityPub.MRF.SimplePolicy])
|
||||||
clear_config(:mrf,
|
|
||||||
policies: [
|
|
||||||
Pleroma.Web.ActivityPub.MRF.SimplePolicy
|
|
||||||
]
|
|
||||||
)
|
|
||||||
|
|
||||||
test "it sends a welcome chat message when Simple policy applied to local instance" do
|
test "it sends a welcome chat message when Simple policy applied to local instance" do
|
||||||
clear_config([:mrf_simple, :media_nsfw], [{"localhost", ""}])
|
clear_config([:mrf_simple, :media_nsfw], [{"localhost", ""}])
|
||||||
|
|
Loading…
Reference in New Issue