From 9480842cce8a32773599fd5da6b668518772c346 Mon Sep 17 00:00:00 2001 From: Cameron Dawson Date: Thu, 3 Oct 2013 07:56:16 -0700 Subject: [PATCH] fixed unit tests. --- tests/ui/unit/controllers/jobs.tests.js | 2 +- tests/ui/unit/plugins/jobdetail_controller.tests.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/ui/unit/controllers/jobs.tests.js b/tests/ui/unit/controllers/jobs.tests.js index 30b7dc3d2..f11b87a3f 100644 --- a/tests/ui/unit/controllers/jobs.tests.js +++ b/tests/ui/unit/controllers/jobs.tests.js @@ -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') ); diff --git a/tests/ui/unit/plugins/jobdetail_controller.tests.js b/tests/ui/unit/plugins/jobdetail_controller.tests.js index 8661bccbf..4e54a6495 100644 --- a/tests/ui/unit/plugins/jobdetail_controller.tests.js +++ b/tests/ui/unit/plugins/jobdetail_controller.tests.js @@ -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') );