mirror of
https://git.youjo.love/youjo/youjo-be.git
synced 2025-01-31 16:39:08 +01:00
Fix notification controller test
This commit is contained in:
parent
3849053c6a
commit
023b7f605b
1 changed files with 3 additions and 2 deletions
|
@ -458,8 +458,9 @@ defmodule Pleroma.Web.MastodonAPI.NotificationControllerTest do
|
||||||
end
|
end
|
||||||
|
|
||||||
describe "from specified user" do
|
describe "from specified user" do
|
||||||
test "account_id", %{conn: conn} do
|
test "account_id" do
|
||||||
user = insert(:user)
|
%{user: user, conn: conn} = oauth_access(["read:notifications"])
|
||||||
|
|
||||||
%{id: account_id} = other_user1 = insert(:user)
|
%{id: account_id} = other_user1 = insert(:user)
|
||||||
other_user2 = insert(:user)
|
other_user2 = insert(:user)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue