projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14d0708
)
Fix test so setting doesn't leak
author
Mark Felder
<feld@FreeBSD.org>
Mon, 31 Aug 2020 20:54:22 +0000
(15:54 -0500)
committer
rinpatch
<rinpatch@sdf.org>
Tue, 8 Sep 2020 17:21:34 +0000
(20:21 +0300)
test/web/metadata/metadata_test.exs
patch
|
blob
|
history
diff --git
a/test/web/metadata/metadata_test.exs
b/test/web/metadata/metadata_test.exs
index 4dd0d2f5ca6ebada56f42ce3105c01b89eaf9eb3..f7371cae230a91653b0f11b88affa2e983f8ac54 100644
(file)
--- a/
test/web/metadata/metadata_test.exs
+++ b/
test/web/metadata/metadata_test.exs
@@
-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")