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
1 changed files with 1 additions and 6 deletions
|
@ -473,12 +473,7 @@ defmodule Pleroma.UserTest do
|
|||
reject_deletes: []
|
||||
)
|
||||
|
||||
setup do:
|
||||
clear_config(:mrf,
|
||||
policies: [
|
||||
Pleroma.Web.ActivityPub.MRF.SimplePolicy
|
||||
]
|
||||
)
|
||||
setup do: clear_config([:mrf, :policies], [Pleroma.Web.ActivityPub.MRF.SimplePolicy])
|
||||
|
||||
test "it sends a welcome chat message when Simple policy applied to local instance" do
|
||||
clear_config([:mrf_simple, :media_nsfw], [{"localhost", ""}])
|
||||
|
|
Loading…
Reference in a new issue