forked from AkkomaGang/akkoma
ActivityPubTest: Update test for atomized parameters.
This commit is contained in:
parent
570123ae21
commit
5d87405b51
1 changed files with 1 additions and 1 deletions
|
@ -621,7 +621,7 @@ test "doesn't return announce activities with blocked users in 'cc'" do
|
||||||
assert {:ok, activity_three} = ActivityPub.insert(data)
|
assert {:ok, activity_three} = ActivityPub.insert(data)
|
||||||
|
|
||||||
activities =
|
activities =
|
||||||
ActivityPub.fetch_activities([], %{"blocking_user" => blocker})
|
ActivityPub.fetch_activities([], %{blocking_user: blocker})
|
||||||
|> Enum.map(fn act -> act.id end)
|
|> Enum.map(fn act -> act.id end)
|
||||||
|
|
||||||
assert Enum.member?(activities, activity_one.id)
|
assert Enum.member?(activities, activity_one.id)
|
||||||
|
|
Loading…
Reference in a new issue