ActivityPubTest: Update test for atomized parameters.
authorlain <lain@soykaf.club>
Wed, 10 Jun 2020 14:55:30 +0000 (16:55 +0200)
committerlain <lain@soykaf.club>
Wed, 10 Jun 2020 14:55:30 +0000 (16:55 +0200)
test/web/activity_pub/activity_pub_test.exs

index 72d3f3dfa8a3933e66ecf9518093b2a2385b5710..b239b812fcfb0752d20bccc4d2f6b086aca6dc1c 100644 (file)
@@ -621,7 +621,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubTest 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)