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/web/mastodon_api/controllers/notification_controller_test.exs | |
parent | e3b4a3e96b2ffbc6d920155cd41687414045d4d6 (diff) | |
download | pleroma-6e4f52f8a2e510273149acbaf629521d1b4aec2e.tar.gz pleroma-6e4f52f8a2e510273149acbaf629521d1b4aec2e.zip |
Introduce new ingestion pipeline structure, implement internal Likes with it.
Diffstat (limited to 'test/web/mastodon_api/controllers/notification_controller_test.exs')
-rw-r--r-- | test/web/mastodon_api/controllers/notification_controller_test.exs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/web/mastodon_api/controllers/notification_controller_test.exs b/test/web/mastodon_api/controllers/notification_controller_test.exs index e4137e92c..6eadccb8e 100644 --- a/test/web/mastodon_api/controllers/notification_controller_test.exs +++ b/test/web/mastodon_api/controllers/notification_controller_test.exs @@ -143,7 +143,7 @@ defmodule Pleroma.Web.MastodonAPI.NotificationControllerTest do {:ok, mention_activity} = CommonAPI.post(other_user, %{"status" => "hey @#{user.nickname}"}) {:ok, create_activity} = CommonAPI.post(user, %{"status" => "hey"}) - {:ok, favorite_activity, _} = CommonAPI.favorite(create_activity.id, other_user) + {:ok, favorite_activity} = CommonAPI.favorite(other_user, create_activity.id) {:ok, reblog_activity, _} = CommonAPI.repeat(create_activity.id, other_user) {:ok, _, _, follow_activity} = CommonAPI.follow(other_user, user) |