test(workflows): update archiveWorkflow update count after forms removal

The forms feature was removed, dropping the form-table update from
archiveWorkflow. Update the stale assertion from 8 to 7 tx.update calls.
This commit is contained in:
Emir Karabeg
2026-05-29 19:08:27 -07:00
parent 6a1af1680e
commit 85265a697c
+1 -1
View File
@@ -102,7 +102,7 @@ describe('workflow lifecycle', () => {
const result = await archiveWorkflow('workflow-1', { requestId: 'req-1' })
expect(result.archived).toBe(true)
expect(tx.update).toHaveBeenCalledTimes(8)
expect(tx.update).toHaveBeenCalledTimes(7)
expect(mockWorkflowDeleted).toHaveBeenCalledWith({
workflowId: 'workflow-1',
workspaceId: 'workspace-1',