Skip to content

Commit 85265a6

Browse files
committed
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.
1 parent 6a1af16 commit 85265a6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/sim/lib/workflows/lifecycle.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ describe('workflow lifecycle', () => {
102102
const result = await archiveWorkflow('workflow-1', { requestId: 'req-1' })
103103

104104
expect(result.archived).toBe(true)
105-
expect(tx.update).toHaveBeenCalledTimes(8)
105+
expect(tx.update).toHaveBeenCalledTimes(7)
106106
expect(mockWorkflowDeleted).toHaveBeenCalledWith({
107107
workflowId: 'workflow-1',
108108
workspaceId: 'workspace-1',

0 commit comments

Comments
 (0)