Skip to content

Commit

Permalink
Fixes for unit test after changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
jeff-phillips-18 committed Feb 6, 2017
1 parent 3a0854a commit 2a1fc3f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ describe('alertsOverviewController', function() {
$scope = _$rootScope_.$new();
alertsCenterService = _alertsCenterService_;

var dummyDocument = document.createElement('div');
spyOn(document, 'getElementById').and.returnValue(dummyDocument);

alertsCenterService.refreshInterval = -1;
adminResponse = getJSONFixture('alerts_center/admin_user_response.json');
operatorResponse = getJSONFixture('alerts_center/operator_user_response.json');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"resource_id": 2,
"resource_type": "ContainerNode",
"evaluated_on": "2017-01-22T13:03:46Z",
"ems_id": 1,
"ems_id": 2,
"alert_actions": [
{
"id": 2,
Expand All @@ -83,7 +83,7 @@
"resource_id": 4,
"resource_type": "ContainerNode",
"evaluated_on": "2017-01-22T13:03:46Z",
"ems_id": 1
"ems_id": 4
}
]
}

0 comments on commit 2a1fc3f

Please sign in to comment.