diff options
author | lain <lain@soykaf.club> | 2020-03-20 15:00:28 +0100 |
---|---|---|
committer | lain <lain@soykaf.club> | 2020-03-20 15:00:28 +0100 |
commit | 6c1232b486dcad5a644b4292697d08ebe3000cb3 (patch) | |
tree | 3a7d62f630bd469dd5b7e7c0253bd89b3e014262 | |
parent | 1aa8aa7d7f14c553a8f0bf1ae82f1a1169cb0fc2 (diff) | |
download | pleroma-6c1232b486dcad5a644b4292697d08ebe3000cb3.tar.gz |
NotificationController: Fix test.
-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 e407b8297..adbb78da6 100644 --- a/test/web/mastodon_api/controllers/notification_controller_test.exs +++ b/test/web/mastodon_api/controllers/notification_controller_test.exs @@ -310,7 +310,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) |