mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-23 08:36:29 +00:00
Fix test so setting doesn't leak
This commit is contained in:
parent
14d07081fd
commit
44ced17634
1 changed files with 2 additions and 0 deletions
|
@ -24,6 +24,8 @@ defmodule Pleroma.Web.MetadataTest 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")
|
||||
|
|
Loading…
Reference in a new issue