projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1aa8aa7
)
NotificationController: Fix test.
author
lain
<lain@soykaf.club>
Fri, 20 Mar 2020 14:00:28 +0000
(15:00 +0100)
committer
lain
<lain@soykaf.club>
Fri, 20 Mar 2020 14:00:28 +0000
(15:00 +0100)
test/web/mastodon_api/controllers/notification_controller_test.exs
patch
|
blob
|
history
diff --git
a/test/web/mastodon_api/controllers/notification_controller_test.exs
b/test/web/mastodon_api/controllers/notification_controller_test.exs
index e407b8297aefc16600046f4c2e42ad520e294e4e..adbb78da69b5329cd1824d3b5513cf83a2c967d2 100644
(file)
--- 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)