forked from AkkomaGang/akkoma
Apply suggestion to test/notification_test.exs
This commit is contained in:
parent
771748db1f
commit
086a260c04
1 changed files with 1 additions and 1 deletions
|
@ -1133,7 +1133,7 @@ test "it returns notifications from muted threads when with_muted is set", %{use
|
||||||
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 a new issue