From: Egor Kislitsyn Date: Wed, 15 Jan 2020 12:51:09 +0000 (+0400) Subject: Fix notification controller test X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=023b7f605b5736b561f5b3a59de4d602933d7c71;p=akkoma Fix notification controller test --- diff --git a/test/web/mastodon_api/controllers/notification_controller_test.exs b/test/web/mastodon_api/controllers/notification_controller_test.exs index 38161982a..6f0606250 100644 --- a/test/web/mastodon_api/controllers/notification_controller_test.exs +++ b/test/web/mastodon_api/controllers/notification_controller_test.exs @@ -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)