diff options
| author | lain <lain@soykaf.club> | 2020-03-19 18:00:55 +0100 |
|---|---|---|
| committer | lain <lain@soykaf.club> | 2020-03-19 18:00:55 +0100 |
| commit | 3c2c32b460c2d942d085725d14e77a96c4a01e4c (patch) | |
| tree | 1542ba8f33738650c561a1f944ae7ce9e16dd116 /test/web/activity_pub/activity_pub_test.exs | |
| parent | ac5c2b66b9f106bad117708cf74e3007c434d09e (diff) | |
| parent | d4bafabfd14887e61eb5bc1d877035dcfebbd33f (diff) | |
| download | pleroma-3c2c32b460c2d942d085725d14e77a96c4a01e4c.tar.gz pleroma-3c2c32b460c2d942d085725d14e77a96c4a01e4c.zip | |
Merge branch 'remake-remodel' into develop
Diffstat (limited to 'test/web/activity_pub/activity_pub_test.exs')
| -rw-r--r-- | test/web/activity_pub/activity_pub_test.exs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/test/web/activity_pub/activity_pub_test.exs b/test/web/activity_pub/activity_pub_test.exs index 3dd3dd04d..d5dd44cc3 100644 --- a/test/web/activity_pub/activity_pub_test.exs +++ b/test/web/activity_pub/activity_pub_test.exs @@ -1894,14 +1894,14 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubTest do {:ok, a4} = CommonAPI.post(user2, %{"status" => "Agent Smith "}) {:ok, a5} = CommonAPI.post(user1, %{"status" => "Red or Blue "}) - {:ok, _, _} = CommonAPI.favorite(a4.id, user) - {:ok, _, _} = CommonAPI.favorite(a3.id, other_user) - {:ok, _, _} = CommonAPI.favorite(a3.id, user) - {:ok, _, _} = CommonAPI.favorite(a5.id, other_user) - {:ok, _, _} = CommonAPI.favorite(a5.id, user) - {:ok, _, _} = CommonAPI.favorite(a4.id, other_user) - {:ok, _, _} = CommonAPI.favorite(a1.id, user) - {:ok, _, _} = CommonAPI.favorite(a1.id, other_user) + {:ok, _} = CommonAPI.favorite(user, a4.id) + {:ok, _} = CommonAPI.favorite(other_user, a3.id) + {:ok, _} = CommonAPI.favorite(user, a3.id) + {:ok, _} = CommonAPI.favorite(other_user, a5.id) + {:ok, _} = CommonAPI.favorite(user, a5.id) + {:ok, _} = CommonAPI.favorite(other_user, a4.id) + {:ok, _} = CommonAPI.favorite(user, a1.id) + {:ok, _} = CommonAPI.favorite(other_user, a1.id) result = ActivityPub.fetch_favourites(user) assert Enum.map(result, & &1.id) == [a1.id, a5.id, a3.id, a4.id] |
