summaryrefslogtreecommitdiff
path: root/test/user_test.exs
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2020-04-06 11:59:01 +0000
committerlain <lain@soykaf.club>2020-04-06 11:59:01 +0000
commit349b9d86dc25ae9514781ef2ac56953fa357a031 (patch)
tree82fe9db708847369f7cbef107da9c6734cea8e4d /test/user_test.exs
parent8444e7ee9651f3b1836954a3891b5ae26ee79f99 (diff)
parent772bc258cde11b3203ad9420f69321ccd56db91a (diff)
downloadpleroma-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/user_test.exs')
-rw-r--r--test/user_test.exs4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/user_test.exs b/test/user_test.exs
index 8055ebd08..0479f294d 100644
--- a/test/user_test.exs
+++ b/test/user_test.exs
@@ -1141,8 +1141,8 @@ defmodule Pleroma.UserTest do
object_two = insert(:note, user: follower)
activity_two = insert(:note_activity, user: follower, note: object_two)
- {:ok, like, _} = CommonAPI.favorite(activity_two.id, user)
- {:ok, like_two, _} = CommonAPI.favorite(activity.id, follower)
+ {:ok, like} = CommonAPI.favorite(user, activity_two.id)
+ {:ok, like_two} = CommonAPI.favorite(follower, activity.id)
{:ok, repeat, _} = CommonAPI.repeat(activity_two.id, user)
{:ok, job} = User.delete(user)