mirror of
https://github.com/ansible/awx.git
synced 2026-03-05 02:31:03 -03:30
Fix unit test failures
This commit is contained in:
@@ -67,7 +67,7 @@ describe('Controller: jobResultsController', () => {
|
|||||||
.respond('');
|
.respond('');
|
||||||
|
|
||||||
$httpBackend
|
$httpBackend
|
||||||
.whenGET('/api/')
|
.whenGET('/api')
|
||||||
.respond(200, '');
|
.respond(200, '');
|
||||||
|
|
||||||
$scope = $rootScope.$new();
|
$scope = $rootScope.$new();
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ describe('Service: QuerySet', () => {
|
|||||||
// @todo: improve appsource
|
// @todo: improve appsource
|
||||||
// provide api version via package.json config block
|
// provide api version via package.json config block
|
||||||
$httpBackend
|
$httpBackend
|
||||||
.whenGET('/api/')
|
.whenGET('/api')
|
||||||
.respond(200, '');
|
.respond(200, '');
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
|||||||
@@ -81,7 +81,7 @@ describe('Controller: WorkflowAdd', () => {
|
|||||||
ToJSON = _ToJSON_;
|
ToJSON = _ToJSON_;
|
||||||
|
|
||||||
httpBackend
|
httpBackend
|
||||||
.whenGET('/api/')
|
.whenGET('/api')
|
||||||
.respond(200, '');
|
.respond(200, '');
|
||||||
|
|
||||||
TemplatesService.getLabelOptions = jasmine.createSpy('getLabelOptions').and.returnValue(getLabelsDeferred.promise);
|
TemplatesService.getLabelOptions = jasmine.createSpy('getLabelOptions').and.returnValue(getLabelsDeferred.promise);
|
||||||
|
|||||||
Reference in New Issue
Block a user