Fix NotificationTest

This commit is contained in:
tusooa 2023-04-01 02:38:16 -04:00
parent 7f12ad6dcc
commit 949c4f01c6
No known key found for this signature in database
GPG Key ID: 42AEC43D48433C51
1 changed files with 2 additions and 2 deletions

View File

@ -252,7 +252,7 @@ test "it creates a notification for user and send to the 'user' and the 'user:no
task =
Task.async(fn ->
{:ok, _topic} = Streamer.get_topic_and_add_socket("user", user, oauth_token)
assert_receive {:render_with_user, _, _, _}, 4_000
assert_receive {:render_with_user, _, _, _, _}, 4_000
end)
task_user_notification =
@ -260,7 +260,7 @@ test "it creates a notification for user and send to the 'user' and the 'user:no
{:ok, _topic} =
Streamer.get_topic_and_add_socket("user:notification", user, oauth_token)
assert_receive {:render_with_user, _, _, _}, 4_000
assert_receive {:render_with_user, _, _, _, _}, 4_000
end)
activity = insert(:note_activity)