Fix tests with enabled RUM
This commit is contained in:
parent
94b9e9d844
commit
17a6f81f7b
|
@ -130,7 +130,9 @@ test "find local and remote statuses for authenticated users", %{
|
|||
remote_activity: remote_activity,
|
||||
user: user
|
||||
} do
|
||||
assert [^remote_activity, ^local_activity] = Activity.search(user, "find me")
|
||||
activities = Enum.sort_by(Activity.search(user, "find me"), & &1.id)
|
||||
|
||||
assert [^local_activity, ^remote_activity] = activities
|
||||
end
|
||||
|
||||
test "find only local statuses for unauthenticated users", %{local_activity: local_activity} do
|
||||
|
|
Loading…
Reference in a new issue