You've already forked agentic-coding-workflow
修改
This commit is contained in:
@@ -176,6 +176,9 @@ func newACPIntegrationSuite(t *testing.T) *acpIntegrationSuite {
|
||||
ShutdownGrace: 5 * time.Second,
|
||||
}
|
||||
sup := acp.NewSupervisor(acpRepo, auditRec, disp, nil, nil, nil, enc, supCfg, log)
|
||||
permSvc := acp.NewPermissionService(acpRepo, auditRec, 0, log)
|
||||
sup.SetPermissionService(permSvc)
|
||||
permSvc.SetRelayLocator(sup)
|
||||
|
||||
// Minimal stubs for SessionService dependencies — sufficient for branch=main
|
||||
// path (no wtSvc / wsRepo calls) and tests that exercise quota/conflict logic.
|
||||
@@ -192,7 +195,7 @@ func newACPIntegrationSuite(t *testing.T) *acpIntegrationSuite {
|
||||
r.Use(middleware.RequestID)
|
||||
user.NewHandler(userSvc).Mount(r)
|
||||
acp.NewHandler(
|
||||
akSvc, sessSvc, sup, acpRepo,
|
||||
akSvc, sessSvc, sup, acpRepo, permSvc,
|
||||
userSvc,
|
||||
acpUserAdminAdapter{svc: userSvc},
|
||||
enc,
|
||||
|
||||
Reference in New Issue
Block a user