ActivityPubTest: Update test for atomized parameters.

This commit is contained in:
lain 2020-06-10 16:55:30 +02:00
parent 570123ae21
commit 5d87405b51

View file

@ -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)