ActivityPubTest: Update test for atomized parameters.

This commit is contained in:
lain 2020-06-10 16:55:30 +02:00
parent 570123ae21
commit 5d87405b51
1 changed files with 1 additions and 1 deletions

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