Fix test failure
authorrinpatch <rinpatch@sdf.org>
Sun, 30 Dec 2018 21:03:03 +0000 (00:03 +0300)
committerrinpatch <rinpatch@sdf.org>
Sun, 30 Dec 2018 21:03:03 +0000 (00:03 +0300)
test/user_test.exs

index 4680850eadace56db76d105a9e9425bb34fc9a88..ef652daf7da63e84a4fa50996cd3dd3a4b0a2f11 100644 (file)
@@ -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