Apply suggestion to test/notification_test.exs

This commit is contained in:
Alexander Strizhakov 2020-02-26 14:00:28 +00:00
parent 771748db1f
commit 086a260c04
No known key found for this signature in database
GPG key ID: 022896A53AEF1381

View file

@ -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)