projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dec2350
)
Fix test failure
author
rinpatch
<rinpatch@sdf.org>
Sun, 30 Dec 2018 21:03:03 +0000
(
00:03
+0300)
committer
rinpatch
<rinpatch@sdf.org>
Sun, 30 Dec 2018 21:03:03 +0000
(
00:03
+0300)
test/user_test.exs
patch
|
blob
|
history
diff --git
a/test/user_test.exs
b/test/user_test.exs
index 4680850eadace56db76d105a9e9425bb34fc9a88..ef652daf7da63e84a4fa50996cd3dd3a4b0a2f11 100644
(file)
--- 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