mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-18 02:49:18 +00:00
Fix test failure
This commit is contained in:
parent
dec23500d8
commit
91d5a7e81c
|
@ -709,7 +709,7 @@ test "insert or update a user from given data" 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
|
||||
|
|
Loading…
Reference in a new issue