diff options
| author | lain <lain@soykaf.club> | 2020-04-06 11:59:01 +0000 |
|---|---|---|
| committer | lain <lain@soykaf.club> | 2020-04-06 11:59:01 +0000 |
| commit | 349b9d86dc25ae9514781ef2ac56953fa357a031 (patch) | |
| tree | 82fe9db708847369f7cbef107da9c6734cea8e4d /test/object_test.exs | |
| parent | 8444e7ee9651f3b1836954a3891b5ae26ee79f99 (diff) | |
| parent | 772bc258cde11b3203ad9420f69321ccd56db91a (diff) | |
| download | pleroma-349b9d86dc25ae9514781ef2ac56953fa357a031.tar.gz pleroma-349b9d86dc25ae9514781ef2ac56953fa357a031.zip | |
Merge branch 'remake-remodel-2' into 'develop'
Ingestion Pipeline Revamp
See merge request pleroma/pleroma!2315
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 |
