summaryrefslogtreecommitdiff
path: root/test/notification_test.exs
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2018-02-12 10:24:15 +0100
committerlain <lain@soykaf.club>2018-02-12 10:24:15 +0100
commitb331cb449a46bbead19fea4fba59762c1a2e3a10 (patch)
tree5ce081e6f6b6b6305ec8a280adb53a64fd08a941 /test/notification_test.exs
parent8cf97ee8e15a36cbbf0964d5be53c88d29798163 (diff)
parent1bc34de4dfef5336d0dc165495ac66de2ffef2c6 (diff)
downloadpleroma-b331cb449a46bbead19fea4fba59762c1a2e3a10.tar.gz
pleroma-b331cb449a46bbead19fea4fba59762c1a2e3a10.zip
Merge branch 'develop' into feature/activitypub
Diffstat (limited to 'test/notification_test.exs')
-rw-r--r--test/notification_test.exs4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/notification_test.exs b/test/notification_test.exs
index 0a4462241..1504004c8 100644
--- a/test/notification_test.exs
+++ b/test/notification_test.exs
@@ -50,7 +50,7 @@ defmodule Pleroma.NotificationTest do
{:ok, activity} = TwitterAPI.create_status(user, %{"status" => "hey @#{other_user.nickname}"})
{:ok, [notification]} = Notification.create_notifications(activity)
- {:error, notification} = Notification.get(user, notification.id)
+ {:error, _notification} = Notification.get(user, notification.id)
end
end
@@ -72,7 +72,7 @@ defmodule Pleroma.NotificationTest do
{:ok, activity} = TwitterAPI.create_status(user, %{"status" => "hey @#{other_user.nickname}"})
{:ok, [notification]} = Notification.create_notifications(activity)
- {:error, notification} = Notification.dismiss(user, notification.id)
+ {:error, _notification} = Notification.dismiss(user, notification.id)
end
end