Apply suggestion to test/notification_test.exs
This commit is contained in:
parent
771748db1f
commit
086a260c04
@ -1133,7 +1133,7 @@ defmodule Pleroma.NotificationTest do
|
|||||||
assert length(Notification.for_user(user, %{with_muted: true})) == 1
|
assert length(Notification.for_user(user, %{with_muted: true})) == 1
|
||||||
end
|
end
|
||||||
|
|
||||||
test "it doesn't return notifications about mentiones with filtered word", %{user: user} do
|
test "it doesn't return notifications about mentions with filtered word", %{user: user} do
|
||||||
insert(:filter, user: user, phrase: "cofe", hide: true)
|
insert(:filter, user: user, phrase: "cofe", hide: true)
|
||||||
another_user = insert(:user)
|
another_user = insert(:user)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user