X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=test%2Fnotification_test.exs;h=1504004c8b3095d70e7016901b04be0d01b74dfd;hb=26ccb768d39515faa3b1db7f1371ecf2517eb6bf;hp=0a44622416d3e000b5e7ef67728e7d02c83492a3;hpb=5e37adedfb718264fbc3eb3353ccee5244e82a89;p=akkoma 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