From: rinpatch Date: Thu, 17 Jan 2019 08:08:50 +0000 (+0300) Subject: Fix test X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=3b187896847637d93db194897565599acd73a57c;p=akkoma Fix test --- diff --git a/test/web/metadata/opengraph_test.exs b/test/web/metadata/opengraph_test.exs index be3f89364..672942148 100644 --- 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 =