Commit 5d87405b authored by lain's avatar lain
Browse files

ActivityPubTest: Update test for atomized parameters.

parent 570123ae
Pipeline #27061 passed with stages
in 8 minutes and 23 seconds
...@@ -621,7 +621,7 @@ test "doesn't return announce activities with blocked users in 'cc'" do ...@@ -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)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment