Fix test so setting doesn't leak

This commit is contained in:
Mark Felder 2020-08-31 15:54:22 -05:00 committed by rinpatch
parent 14d07081fd
commit 44ced17634

View File

@ -24,6 +24,8 @@ test "for local user" do
end
describe "no metadata for private instances" do
setup do: clear_config([:instance, :public])
test "for local user" do
Pleroma.Config.put([:instance, :public], false)
user = insert(:user, bio: "This is my secret fedi account bio")