test(cli): expect the shipped Schedule tools in the legacy preset

The shipped Web composition gained the four Host Schedule tools, and the
other four minimal-agent assertions in this file already expect them. The
legacy profile-patch scenario still expected bash alone, so master's E2E
lane failed on it. Align it with its siblings.
This commit is contained in:
mektpoy committed 2026-09-24 17:46:21 +08:00
1 parent c0f0bcf587
commit a09402b41c
1 file changed
+1 -1
+1 -1
View File
@@ -912,7 +912,7 @@ describe('a profile patch stored before Developer tools owned preset selection',
setup: agentCtx => legacy.agentPresets.mount(agentCtx).then(() => undefined),
})
try {
expect(toolNames(legacy, handle.agent)).toEqual(['bash'])
expect(toolNames(legacy, handle.agent)).toEqual(['bash', ...SCHEDULE_TOOLS])
} finally {
await handle.dispose()
}