Skip to content

Commit

Permalink
More enum fix
Browse files Browse the repository at this point in the history
  • Loading branch information
denis-yuen committed May 8, 2018
1 parent f9d8331 commit 2e5dd51
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/app/shared/refresh.service.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 => {
Expand Down
2 changes: 1 addition & 1 deletion src/app/shared/workflow.service.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
Expand Down
2 changes: 1 addition & 1 deletion src/app/workflow/dag/dag.component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'));
Expand Down

0 comments on commit 2e5dd51

Please sign in to comment.