From: Roger Braun Date: Tue, 30 Jan 2018 11:20:14 +0000 (+0100) Subject: Make specs less breaky. X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=450109460674d914171bd1a1516a2c5faf355a7c;p=akkoma Make specs less breaky. --- 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