mirror of
https://github.com/ansible/awx.git
synced 2026-01-14 19:30:39 -03:30
Fix unit test failures
This commit is contained in:
parent
5fe066124e
commit
b93ca08b8c
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user