Fix warnings

This commit is contained in:
Egor Kislitsyn 2020-10-15 16:54:59 +04:00
commit 3985c1b450
No known key found for this signature in database
GPG key ID: 1B49CB15B71E7805
17 changed files with 33 additions and 33 deletions

View file

@ -400,7 +400,7 @@ defmodule Pleroma.NotificationTest do
user = insert(:user, locked: true)
follower = insert(:user)
{:ok, _, _, _follow_activity} = CommonAPI.follow(follower, user)
assert [notification] = Notification.for_user(user)
assert [_notification] = Notification.for_user(user)
{:ok, _follower} = CommonAPI.reject_follow_request(follower, user)
assert [] = Notification.for_user(user)
end