diff options
author | Roger Braun <roger@rogerbraun.net> | 2018-01-30 12:20:39 +0100 |
---|---|---|
committer | Roger Braun <roger@rogerbraun.net> | 2018-01-30 12:20:39 +0100 |
commit | ad0ab3a57bc5591806cae0201d8077ffb10b6634 (patch) | |
tree | 97a935b5bd612b0c944285ec03c1438fa2344401 /test/notification_test.exs | |
parent | ede4883ac93b1827c8fab125125bff94c1a855db (diff) | |
parent | 450109460674d914171bd1a1516a2c5faf355a7c (diff) | |
download | pleroma-ad0ab3a57bc5591806cae0201d8077ffb10b6634.tar.gz pleroma-ad0ab3a57bc5591806cae0201d8077ffb10b6634.zip |
Merge branch 'hakabahitoyo/pleroma-feature/atom-feed-logo' into develop
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 |