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