Make test output easier to read.
[akkoma] / test / notification_test.exs
index 0a44622416d3e000b5e7ef67728e7d02c83492a3..1504004c8b3095d70e7016901b04be0d01b74dfd 100644 (file)
@@ -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