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