test(cli): expect Schedule tools in the legacy preset-patch session

#5108 added this case against a master where the shipped Web bundle had no
Schedule rows; #5123 then made Schedule part of the default Web composition.
Every other minimal-preset session in this file already expects bash plus
the four Schedule tools, so this one does too.
This commit is contained in:
ZiyaZhang committed 2026-09-24 02:47:26 -07:00
1 parent 27a0a4606c
commit d8e3efa860
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()
}