diff --git a/src/app/workflow-spec-list/workflow-spec-list.component.spec.ts b/src/app/workflow-spec-list/workflow-spec-list.component.spec.ts index d5b096c..fc2cb33 100644 --- a/src/app/workflow-spec-list/workflow-spec-list.component.spec.ts +++ b/src/app/workflow-spec-list/workflow-spec-list.component.spec.ts @@ -169,12 +169,12 @@ describe('WorkflowSpecListComponent', () => { component.selectedSpec = mockWorkflowSpec1; component.selectedSpec.parents = []; component.selectedSpec.libraries = []; - component.editWorkflowSpec(); + component.editWorkflowSpec('study'); expect(openDialogSpy).toHaveBeenCalled(); expect(_upsertWorkflowSpecificationSpy).not.toHaveBeenCalled(); mockSpecData = mockWorkflowSpec0 as WorkflowSpecDialogData; - component.editWorkflowSpec(mockWorkflowSpec0); + component.editWorkflowSpec('study', mockWorkflowSpec0); expect(openDialogSpy).toHaveBeenCalled(); expect(_upsertWorkflowSpecificationSpy).toHaveBeenCalled(); });