1
0
mirror of https://git.pleroma.social/sjw/pleroma.git synced 2024-12-26 08:55:18 +01:00
This commit is contained in:
rinpatch 2019-01-17 11:08:50 +03:00
parent 4d5f15cd42
commit 3b18789684

View File

@ -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 =