This commit is contained in:
2026-06-09 21:19:30 +08:00
parent 8b41ff9360
commit 0484e79978
66 changed files with 4043 additions and 533 deletions
+4 -1
View File
@@ -155,9 +155,12 @@ func TestHandler_Session_CreateAndWS_E2E(t *testing.T) {
nil, // mcpTokens — not exercised by handler e2e
)
permSvc := acp.NewPermissionService(repo, nil, 0, nil)
sup.SetPermissionService(permSvc)
permSvc.SetRelayLocator(sup)
h := acp.NewHandler(
nil, // ak svc — not exercised by sessions endpoints
svc, sup, repo,
svc, sup, repo, permSvc,
fakeResolver{uid: uid},
fakeAdminLookup{admin: map[uuid.UUID]bool{uid: false}},
enc,