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