Fix notification controller test

This commit is contained in:
Egor Kislitsyn 2020-01-15 16:51:09 +04:00
parent 3849053c6a
commit 023b7f605b
No known key found for this signature in database
GPG Key ID: 1B49CB15B71E7805

View File

@ -458,8 +458,9 @@ defmodule Pleroma.Web.MastodonAPI.NotificationControllerTest do
end
describe "from specified user" do
test "account_id", %{conn: conn} do
user = insert(:user)
test "account_id" do
%{user: user, conn: conn} = oauth_access(["read:notifications"])
%{id: account_id} = other_user1 = insert(:user)
other_user2 = insert(:user)