mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-23 16:01:17 +00:00
ACP: strengthen allowlist regression coverage
This commit is contained in:
@@ -1148,6 +1148,7 @@ describe("spawnAcpDirect", () => {
|
||||
status: "forbidden",
|
||||
error: "agentId is not allowed for sessions_spawn (allowed: research)",
|
||||
});
|
||||
expect(hoisted.callGatewayMock).not.toHaveBeenCalled();
|
||||
expect(hoisted.initializeSessionMock).not.toHaveBeenCalled();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user