Fix tests
This commit is contained in:
parent
f333041a0a
commit
a7affbdd6d
@ -1193,6 +1193,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubTest do
|
|||||||
CommonAPI.post(user, %{"status" => "foobar", "visibility" => "list:#{list.id}"})
|
CommonAPI.post(user, %{"status" => "foobar", "visibility" => "list:#{list.id}"})
|
||||||
|
|
||||||
activity = Repo.preload(activity, :bookmark)
|
activity = Repo.preload(activity, :bookmark)
|
||||||
|
activity = %Activity{activity | thread_muted?: !!activity.thread_muted?}
|
||||||
|
|
||||||
assert ActivityPub.fetch_activities([], %{"user" => user}) == [activity]
|
assert ActivityPub.fetch_activities([], %{"user" => user}) == [activity]
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user