diff options
author | lain <lain@soykaf.club> | 2019-10-16 16:16:39 +0200 |
---|---|---|
committer | lain <lain@soykaf.club> | 2019-10-16 16:16:39 +0200 |
commit | 6e4f52f8a2e510273149acbaf629521d1b4aec2e (patch) | |
tree | 0f6210fe8dfe0b716f2fc9721df0d5a8f807294f /test/user_test.exs | |
parent | e3b4a3e96b2ffbc6d920155cd41687414045d4d6 (diff) | |
download | pleroma-6e4f52f8a2e510273149acbaf629521d1b4aec2e.tar.gz |
Introduce new ingestion pipeline structure, implement internal Likes with it.
Diffstat (limited to 'test/user_test.exs')
-rw-r--r-- | test/user_test.exs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/user_test.exs b/test/user_test.exs index 019e7b400..49c1eb02a 100644 --- a/test/user_test.exs +++ b/test/user_test.exs @@ -1059,8 +1059,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) |