diff options
Diffstat (limited to 'test/web')
-rw-r--r-- | test/web/activity_pub/activity_pub_test.exs | 3 | ||||
-rw-r--r-- | test/web/salmon/salmon_test.exs | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/test/web/activity_pub/activity_pub_test.exs b/test/web/activity_pub/activity_pub_test.exs index 2e361ad38..8e7473591 100644 --- a/test/web/activity_pub/activity_pub_test.exs +++ b/test/web/activity_pub/activity_pub_test.exs @@ -1,6 +1,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubTest do use Pleroma.DataCase alias Pleroma.Web.ActivityPub.ActivityPub + alias Pleroma.Web.ActivityPub.Utils alias Pleroma.{Activity, Object, User} alias Pleroma.Builders.ActivityBuilder @@ -216,7 +217,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubTest do follower = Repo.get_by(User, ap_id: activity.data["actor"]) followed = Repo.get_by(User, ap_id: activity.data["object"]) - assert activity == ActivityPub.fetch_latest_follow(follower, followed) + assert activity == Utils.fetch_latest_follow(follower, followed) end end diff --git a/test/web/salmon/salmon_test.exs b/test/web/salmon/salmon_test.exs index ed26ccf83..65d81e44f 100644 --- a/test/web/salmon/salmon_test.exs +++ b/test/web/salmon/salmon_test.exs @@ -71,7 +71,7 @@ defmodule Pleroma.Web.Salmon.SalmonTest do mentioned_user = insert(:user, user_data) note = insert(:note) activity_data = %{ - "id" => Pleroma.Web.ActivityPub.ActivityPub.generate_activity_id, + "id" => Pleroma.Web.ActivityPub.Utils.generate_activity_id, "type" => "Create", "actor" => note.data["actor"], "to" => note.data["to"] ++ [mentioned_user.ap_id], |