aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/web/mastodon_api/controllers/notification_controller_test.exs5
1 files changed, 3 insertions, 2 deletions
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)