From: lain Date: Wed, 10 Jun 2020 14:55:30 +0000 (+0200) Subject: ActivityPubTest: Update test for atomized parameters. X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=5d87405b51efe9f99fea669090a5914db22ca9ed;p=akkoma ActivityPubTest: Update test for atomized parameters. --- diff --git a/test/web/activity_pub/activity_pub_test.exs b/test/web/activity_pub/activity_pub_test.exs index 72d3f3dfa..b239b812f 100644 --- a/test/web/activity_pub/activity_pub_test.exs +++ b/test/web/activity_pub/activity_pub_test.exs @@ -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)