Fix tests with enabled RUM
This commit is contained in:
parent
94b9e9d844
commit
17a6f81f7b
@ -130,7 +130,9 @@ defmodule Pleroma.ActivityTest do
|
|||||||
remote_activity: remote_activity,
|
remote_activity: remote_activity,
|
||||||
user: user
|
user: user
|
||||||
} do
|
} 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
|
end
|
||||||
|
|
||||||
test "find only local statuses for unauthenticated users", %{local_activity: local_activity} do
|
test "find only local statuses for unauthenticated users", %{local_activity: local_activity} do
|
||||||
|
Loading…
Reference in New Issue
Block a user