Fix test
This commit is contained in:
parent
4d5f15cd42
commit
3b18789684
1 changed files with 1 additions and 0 deletions
|
@ -74,6 +74,7 @@ test "it renders all supported types of attachments and skips unknown types" do
|
||||||
end
|
end
|
||||||
|
|
||||||
test "it does not render attachments if post is nsfw" do
|
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"}]})
|
user = insert(:user, avatar: %{"url" => [%{"href" => "https://pleroma.gov/tenshi.png"}]})
|
||||||
|
|
||||||
note =
|
note =
|
||||||
|
|
Loading…
Reference in a new issue