diff options
author | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2019-01-21 06:46:47 +0100 |
---|---|---|
committer | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2019-01-21 08:00:38 +0100 |
commit | f8ab1b7427e91ec1b7883e021836099226b56566 (patch) | |
tree | 4a9bdadd8a7f01b8c78af38845e9ab8da62fe1ee /test/web | |
parent | 4ad5a0abb99eb90b1b1bebbad79acc67c16cf945 (diff) | |
download | pleroma-f8ab1b7427e91ec1b7883e021836099226b56566.tar.gz pleroma-f8ab1b7427e91ec1b7883e021836099226b56566.zip |
Activity: get_all_by_object_ap_id/1 → get_all_create_by_object_ap_id/1
Diffstat (limited to 'test/web')
-rw-r--r-- | test/web/activity_pub/activity_pub_test.exs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/web/activity_pub/activity_pub_test.exs b/test/web/activity_pub/activity_pub_test.exs index 6538fb7af..ea9ac5ba8 100644 --- a/test/web/activity_pub/activity_pub_test.exs +++ b/test/web/activity_pub/activity_pub_test.exs @@ -330,7 +330,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubTest do assert like_activity == same_like_activity assert object.data["likes"] == [user.ap_id] - [note_activity] = Activity.get_all_by_object_ap_id(object.data["id"]) + [note_activity] = Activity.get_all_create_by_object_ap_id(object.data["id"]) assert note_activity.data["object"]["like_count"] == 1 {:ok, _like_activity, object} = ActivityPub.like(user_two, object) |