projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91d5a7e
)
Get default scrubbers from config instead of hardcoded
author
rinpatch
<rinpatch@sdf.org>
Sun, 30 Dec 2018 21:12:14 +0000
(
00:12
+0300)
committer
rinpatch
<rinpatch@sdf.org>
Sun, 30 Dec 2018 21:12:14 +0000
(
00:12
+0300)
test/user_test.exs
patch
|
blob
|
history
diff --git
a/test/user_test.exs
b/test/user_test.exs
index ef652daf7da63e84a4fa50996cd3dd3a4b0a2f11..bd40d7f85ac506aefbe5824b79e0a0c53d906b83 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
[Pleroma.HTML.Transform.MediaProxy, Pleroma.HTML.Scrubber.Default]
== User.html_filter_policy(user)
+ assert
Pleroma.Config.get([:markup, :scrub_policy])
== User.html_filter_policy(user)
end
test "html_filter_policy returns TwitterText scrubber when rich-text is disabled" do