mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-26 16:02:18 +00:00
Fix test so setting doesn't leak
This commit is contained in:
parent
14d07081fd
commit
44ced17634
|
@ -24,6 +24,8 @@ defmodule Pleroma.Web.MetadataTest 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 a new issue