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/views | |
| 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/views')
| -rw-r--r-- | test/web/mastodon_api/views/notification_view_test.exs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/web/mastodon_api/views/notification_view_test.exs b/test/web/mastodon_api/views/notification_view_test.exs index c9043a69a..d06809268 100644 --- a/test/web/mastodon_api/views/notification_view_test.exs +++ b/test/web/mastodon_api/views/notification_view_test.exs @@ -42,7 +42,7 @@ defmodule Pleroma.Web.MastodonAPI.NotificationViewTest do user = insert(:user) another_user = insert(:user) {:ok, create_activity} = CommonAPI.post(user, %{"status" => "hey"}) - {:ok, favorite_activity, _object} = CommonAPI.favorite(create_activity.id, another_user) + {:ok, favorite_activity} = CommonAPI.favorite(another_user, create_activity.id) {:ok, [notification]} = Notification.create_notifications(favorite_activity) create_activity = Activity.get_by_id(create_activity.id) |
