mirror of
https://github.com/ansible/awx.git
synced 2026-01-14 19:30:39 -03:30
Fixed unit test failure
This commit is contained in:
parent
5344c66f45
commit
eaf68004d4
@ -84,6 +84,10 @@ describe('Controller: WorkflowAdd', () => {
|
||||
.whenGET('/api')
|
||||
.respond(200, '');
|
||||
|
||||
httpBackend
|
||||
.whenGET('/static/languages/en_US.json')
|
||||
.respond(200, '');
|
||||
|
||||
TemplatesService.getLabelOptions = jasmine.createSpy('getLabelOptions').and.returnValue(getLabelsDeferred.promise);
|
||||
TemplatesService.createWorkflowJobTemplate = jasmine.createSpy('createWorkflowJobTemplate').and.returnValue(createWorkflowJobTemplateDeferred.promise);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user