summaryrefslogtreecommitdiff
path: root/test/notification_test.exs
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2018-02-12 10:13:54 +0100
committerlain <lain@soykaf.club>2018-02-12 10:14:11 +0100
commit26ccb768d39515faa3b1db7f1371ecf2517eb6bf (patch)
treecad8d083afe1b126f6907cc6f9d1478c3e469656 /test/notification_test.exs
parent33a5d0a2385984168f7de063093c6a71c8b07b73 (diff)
downloadpleroma-26ccb768d39515faa3b1db7f1371ecf2517eb6bf.tar.gz
pleroma-26ccb768d39515faa3b1db7f1371ecf2517eb6bf.zip
Make test output easier to read.
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