projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d5f15c
)
Fix test
author
rinpatch
<rinpatch@sdf.org>
Thu, 17 Jan 2019 08:08:50 +0000
(11:08 +0300)
committer
rinpatch
<rinpatch@sdf.org>
Thu, 17 Jan 2019 08:08:50 +0000
(11:08 +0300)
test/web/metadata/opengraph_test.exs
patch
|
blob
|
history
diff --git
a/test/web/metadata/opengraph_test.exs
b/test/web/metadata/opengraph_test.exs
index be3f8936499f8948dad802bd28cf36266f94bb15..672942148756b1e5a31fff8565f365612e49a330 100644
(file)
--- a/
test/web/metadata/opengraph_test.exs
+++ b/
test/web/metadata/opengraph_test.exs
@@
-74,6
+74,7
@@
defmodule Pleroma.Web.Metadata.Providers.OpenGraphTest do
end
test "it does not render attachments if post is nsfw" do
+ Pleroma.Config.put([Pleroma.Web.Metadata, :unfurl_nsfw], false)
user = insert(:user, avatar: %{"url" => [%{"href" => "https://pleroma.gov/tenshi.png"}]})
note =