diff options
author | Ivan Tashkinov <ivantashkinov@gmail.com> | 2020-04-13 09:16:51 +0300 |
---|---|---|
committer | Ivan Tashkinov <ivantashkinov@gmail.com> | 2020-04-13 09:16:51 +0300 |
commit | a21baf89d874823137cc49052cfe8da769ac0748 (patch) | |
tree | 20ed514fe2b13beebf0221d844745252f7604c02 /test/object_test.exs | |
parent | dc2637c18880160286f50505b1140a58fdfdf7d1 (diff) | |
parent | 7ee35eb9a6a55ef610eb02a04a33f67e5921cff3 (diff) | |
download | pleroma-a21baf89d874823137cc49052cfe8da769ac0748.tar.gz pleroma-a21baf89d874823137cc49052cfe8da769ac0748.zip |
Merge remote-tracking branch 'remotes/origin/develop' into output-of-relationships-in-statuses
Diffstat (limited to 'test/object_test.exs')
-rw-r--r-- | test/object_test.exs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/object_test.exs b/test/object_test.exs index fe583decd..198d3b1cf 100644 --- a/test/object_test.exs +++ b/test/object_test.exs @@ -380,7 +380,8 @@ defmodule Pleroma.ObjectTest do user = insert(:user) activity = Activity.get_create_by_object_ap_id(object.data["id"]) - {:ok, _activity, object} = CommonAPI.favorite(activity.id, user) + {:ok, activity} = CommonAPI.favorite(user, activity.id) + object = Object.get_by_ap_id(activity.data["object"]) assert object.data["like_count"] == 1 |