mirror of https://github.com/openclaw/openclaw.git
ACP: strengthen allowlist regression coverage
This commit is contained in:
parent
6628db8d61
commit
050c22668a
|
|
@ -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();
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue