Fix a typo in user_test.ex
This commit is contained in:
parent
6ed9b31a5f
commit
9f5881cbb1
@ -706,7 +706,7 @@ defmodule Pleroma.UserTest do
|
|||||||
end
|
end
|
||||||
|
|
||||||
describe "per-user rich-text filtering" do
|
describe "per-user rich-text filtering" do
|
||||||
test "html_filter_policy returns nil when rich-text is enabled" do
|
test "html_filter_policy returns default policies, when rich-text is enabled" do
|
||||||
user = insert(:user)
|
user = insert(:user)
|
||||||
|
|
||||||
assert Pleroma.Config.get([:markup, :scrub_policy]) == User.html_filter_policy(user)
|
assert Pleroma.Config.get([:markup, :scrub_policy]) == User.html_filter_policy(user)
|
||||||
|
Loading…
Reference in New Issue
Block a user