Fix test so setting doesn't leak
This commit is contained in:
parent
14d07081fd
commit
44ced17634
|
@ -24,6 +24,8 @@ test "for local user" do
|
||||||
end
|
end
|
||||||
|
|
||||||
describe "no metadata for private instances" do
|
describe "no metadata for private instances" do
|
||||||
|
setup do: clear_config([:instance, :public])
|
||||||
|
|
||||||
test "for local user" do
|
test "for local user" do
|
||||||
Pleroma.Config.put([:instance, :public], false)
|
Pleroma.Config.put([:instance, :public], false)
|
||||||
user = insert(:user, bio: "This is my secret fedi account bio")
|
user = insert(:user, bio: "This is my secret fedi account bio")
|
||||||
|
|
Loading…
Reference in New Issue