Make test output easier to read.
This commit is contained in:
parent
33a5d0a238
commit
26ccb768d3
19 changed files with 80 additions and 84 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue