forked from mirrors/akkoma
Fix tests with enabled RUM
This commit is contained in:
parent
94b9e9d844
commit
17a6f81f7b
1 changed files with 3 additions and 1 deletions
|
@ -130,7 +130,9 @@ defmodule Pleroma.ActivityTest do
|
|||
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