X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=test%2Fweb%2Fmetadata%2Fopengraph_test.exs;h=0d47b1cb82edd885b98716c77c04ea256f295de8;hb=c69b04c49090c5d86af2e9609d0b45d091f09267;hp=4283f72cdf22b588cef6619c8180f1c210ed43f3;hpb=d03a116654bd7c4329b698a0f175e37aea8c2caa;p=akkoma diff --git a/test/web/metadata/opengraph_test.exs b/test/web/metadata/opengraph_test.exs index 4283f72cd..0d47b1cb8 100644 --- a/test/web/metadata/opengraph_test.exs +++ b/test/web/metadata/opengraph_test.exs @@ -7,6 +7,8 @@ defmodule Pleroma.Web.Metadata.Providers.OpenGraphTest do import Pleroma.Factory alias Pleroma.Web.Metadata.Providers.OpenGraph + clear_config([Pleroma.Web.Metadata, :unfurl_nsfw]) + test "it renders all supported types of attachments and skips unknown types" do user = insert(:user)