diff options
author | Roger Braun <roger@rogerbraun.net> | 2018-02-11 09:50:55 +0100 |
---|---|---|
committer | Roger Braun <roger@rogerbraun.net> | 2018-02-11 09:50:55 +0100 |
commit | 52200998c997576c9008cbe50b0a7b9f0e6134cc (patch) | |
tree | c0d68f476442b8dd86fca1e182d5c09553800810 /test/notification_test.exs | |
parent | 4a13b8488787773d09f67d1a436d5906e2f5b171 (diff) | |
parent | 0e2ca77eec511857508208d3faeb9217c4496f8a (diff) | |
download | pleroma-52200998c997576c9008cbe50b0a7b9f0e6134cc.tar.gz pleroma-52200998c997576c9008cbe50b0a7b9f0e6134cc.zip |
Merge branch 'develop' into feature/activitypub
Diffstat (limited to 'test/notification_test.exs')
-rw-r--r-- | test/notification_test.exs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/notification_test.exs b/test/notification_test.exs index eee1c9fa3..0a4462241 100644 --- a/test/notification_test.exs +++ b/test/notification_test.exs @@ -14,9 +14,9 @@ defmodule Pleroma.NotificationTest do {:ok, [notification, other_notification]} = Notification.create_notifications(activity) - assert notification.user_id == other_user.id + notified_ids = Enum.sort([notification.user_id, other_notification.user_id]) + assert notified_ids == [other_user.id, third_user.id] assert notification.activity_id == activity.id - assert other_notification.user_id == third_user.id assert other_notification.activity_id == activity.id end end |