diff --git a/src/app/shared/refresh.service.spec.ts b/src/app/shared/refresh.service.spec.ts index b3aec3a725..81f4b5904f 100644 --- a/src/app/shared/refresh.service.spec.ts +++ b/src/app/shared/refresh.service.spec.ts @@ -93,7 +93,7 @@ describe('RefreshService', () => { 'workflowVersions': [], 'defaultTestParameterFilePath': 'refreshedDefaultTestParameterFilePath', 'sourceControl': 'github.com', - 'source_control_provider': Workflow.SourceControlProviderEnum.GITHUB + 'source_control_provider': 'GITHUB' }; service.refreshWorkflow(); stateService.refreshMessage$.subscribe(refreshing => { diff --git a/src/app/shared/workflow.service.spec.ts b/src/app/shared/workflow.service.spec.ts index 392c9bc534..5a968af85a 100644 --- a/src/app/shared/workflow.service.spec.ts +++ b/src/app/shared/workflow.service.spec.ts @@ -44,7 +44,7 @@ describe('WorkflowService', () => { 'workflowVersions': [], 'defaultTestParameterFilePath': 'replacedDefaultTestParameterFilePath', 'sourceControl': 'github.com', - 'source_control_provider': Workflow.SourceControlProviderEnum.GITHUB + 'source_control_provider': 'GITHUB' }; service.replaceWorkflow(workflows, newSampleWorkflow1); expect(service.workflows$.getValue()).toEqual([newSampleWorkflow1, sampleWorkflow2, sampleWorkflow3]); diff --git a/src/app/workflow/dag/dag.component.spec.ts b/src/app/workflow/dag/dag.component.spec.ts index 8bc7677bde..92d98426e8 100644 --- a/src/app/workflow/dag/dag.component.spec.ts +++ b/src/app/workflow/dag/dag.component.spec.ts @@ -69,7 +69,7 @@ describe('DagComponent', () => { 'repository': 'l', 'workflow_path': '', 'sourceControl': 'github.com', - 'source_control_provider': Workflow.SourceControlProviderEnum.GITHUB + 'source_control_provider': 'GITHUB' }; // fixture.detectChanges(); // de = fixture.debugElement.query(By.css('#exportLink'));