From: rinpatch Date: Sun, 30 Dec 2018 21:03:03 +0000 (+0300) Subject: Fix test failure X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=91d5a7e81c3161f80bb70cd9e1e7a7c8bc70c0b1;p=akkoma Fix test failure --- diff --git a/test/user_test.exs b/test/user_test.exs index 4680850ea..ef652daf7 100644 --- a/test/user_test.exs +++ b/test/user_test.exs @@ -709,7 +709,7 @@ defmodule Pleroma.UserTest do test "html_filter_policy returns nil when rich-text is enabled" do user = insert(:user) - assert nil == User.html_filter_policy(user) + assert [Pleroma.HTML.Transform.MediaProxy, Pleroma.HTML.Scrubber.Default] == User.html_filter_policy(user) end test "html_filter_policy returns TwitterText scrubber when rich-text is disabled" do