mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-18 20:51:10 +00:00
Tests: align exec approval policy expectations
This commit is contained in:
@@ -1236,7 +1236,7 @@ describe("exec approvals", () => {
|
||||
const tool = createExecTool({
|
||||
host: "gateway",
|
||||
ask: "always",
|
||||
security: "allowlist",
|
||||
security: "full",
|
||||
trigger: "cron",
|
||||
approvalRunningNoticeMs: 0,
|
||||
});
|
||||
|
||||
@@ -436,7 +436,7 @@ describe("exec approvals CLI", () => {
|
||||
effective: "always",
|
||||
}),
|
||||
askFallback: expect.objectContaining({
|
||||
effective: "full",
|
||||
effective: "allowlist",
|
||||
source: "OpenClaw default (full)",
|
||||
}),
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user