diff --git a/tests/features/production/production.test.ts b/tests/features/production/production.test.ts index 840b5fc..18d456a 100644 --- a/tests/features/production/production.test.ts +++ b/tests/features/production/production.test.ts @@ -191,7 +191,7 @@ describe('镜头生产数据契约', () => { it('所有首帧生成都先成为候选,并要求费用确认', async () => { wrapper = mount(KeyframeDialog, { attachTo: document.body, - props: { open: true, shotId: 'shot-1', shotTitle: '开场', disabled: false } + props: { open: true, shotId: 'shot-1', shotTitle: '开场', projectId: 'project-1', disabled: false } }) await flushPromises() expect(button('确认生成首帧').disabled).toBe(true) @@ -256,7 +256,7 @@ describe('镜头生产数据契约', () => { vi.stubGlobal('fetch', fetcher) wrapper = mount(KeyframeDialog, { attachTo: document.body, - props: { open: true, shotId: 'shot-1', shotTitle: '开场', disabled: false } + props: { open: true, shotId: 'shot-1', shotTitle: '开场', projectId: 'project-1', disabled: false } }) await flushPromises() button('预览实际生成输入').click()