From: William Pitcock Date: Mon, 25 Mar 2019 01:23:15 +0000 (+0000) Subject: test: update obsolete test X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=c7644313e72520a371e4bd417b1ff852365849b6;p=akkoma test: update obsolete test --- diff --git a/test/web/activity_pub/activity_pub_test.exs b/test/web/activity_pub/activity_pub_test.exs index 0f90aa1ac..b41f6ab81 100644 --- a/test/web/activity_pub/activity_pub_test.exs +++ b/test/web/activity_pub/activity_pub_test.exs @@ -968,7 +968,8 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubTest do assert length(activities) == 3 - activities = ActivityPub.contain_timeline(activities, user1) + activities = + ActivityPub.fetch_activities([user1.ap_id | user1.following], %{"user" => user1}) assert [public_activity, private_activity_1] == activities assert length(activities) == 2