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