зеркало из https://github.com/mozilla/treeherder.git
fixed unit tests.
This commit is contained in:
Родитель
7814252dc2
Коммит
9480842cce
|
@ -12,7 +12,7 @@ describe('JobsCtrl', function(){
|
|||
$httpBackend = $injector.get('$httpBackend');
|
||||
jasmine.getJSONFixtures().fixturesPath='base/test/mock';
|
||||
|
||||
$httpBackend.whenGET('http://local.treeherder.mozilla.org/api/project/mozilla-inbound/resultset/').respond(
|
||||
$httpBackend.whenGET('http://local.treeherder.mozilla.org/api/project/mozilla-inbound/resultset/?exclude_empty=1').respond(
|
||||
getJSONFixture('resultset_list.json')
|
||||
);
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ describe('JobDetailPluginCtrl', function(){
|
|||
$httpBackend = $injector.get('$httpBackend');
|
||||
jasmine.getJSONFixtures().fixturesPath='base/test/mock';
|
||||
|
||||
$httpBackend.whenGET('http://local.treeherder.mozilla.org/api/project/mozilla-inbound/resultset/').respond(
|
||||
$httpBackend.whenGET('http://local.treeherder.mozilla.org/api/project/mozilla-inbound/resultset/?exclude_empty=1').respond(
|
||||
getJSONFixture('resultset_list.json')
|
||||
);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче