diff options
author | kaniini <nenolod@gmail.com> | 2018-12-12 07:28:47 +0000 |
---|---|---|
committer | kaniini <nenolod@gmail.com> | 2018-12-12 07:28:47 +0000 |
commit | 2592b3c81a5af20536c3cc9709e3971d6cfb1e68 (patch) | |
tree | 89fba8fe2ed33bb25ef554f67e4659e255f81709 /test/notification_test.exs | |
parent | 2999a08e3590c43c623730b0cbf6b93045ac08c1 (diff) | |
parent | 89b3729afa130a62a47ed6372350ebfc5acb4064 (diff) | |
download | pleroma-2592b3c81a5af20536c3cc9709e3971d6cfb1e68.tar.gz pleroma-2592b3c81a5af20536c3cc9709e3971d6cfb1e68.zip |
Merge branch 'support/issue_442' into 'develop'
[#442] fix warnings
See merge request pleroma/pleroma!536
Diffstat (limited to 'test/notification_test.exs')
-rw-r--r-- | test/notification_test.exs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/notification_test.exs b/test/notification_test.exs index a36ed5bb8..385210793 100644 --- a/test/notification_test.exs +++ b/test/notification_test.exs @@ -127,12 +127,12 @@ defmodule Pleroma.NotificationTest do user = insert(:user) other_user = insert(:user) - {:ok, activity} = + {:ok, _activity} = TwitterAPI.create_status(user, %{ "status" => "hey @#{other_user.nickname}!" }) - {:ok, activity} = + {:ok, _activity} = TwitterAPI.create_status(user, %{ "status" => "hey again @#{other_user.nickname}!" }) @@ -142,14 +142,14 @@ defmodule Pleroma.NotificationTest do assert n2.id > n1.id - {:ok, activity} = + {:ok, _activity} = TwitterAPI.create_status(user, %{ "status" => "hey yet again @#{other_user.nickname}!" }) Notification.set_read_up_to(other_user, n2.id) - [n3, n2, n1] = notifs = Notification.for_user(other_user) + [n3, n2, n1] = Notification.for_user(other_user) assert n1.seen == true assert n2.seen == true |