Unit tests for servicesController broken

Steps to reproduce

Steps to reproduce:
1. Go to modules/matterhorn-admin-ui-ng/
2. Run 'grunt'

Actual Results:

PhantomJS 2.1.1 (Mac OS X 0.0.0) Services controller #sanitize sanitizes the service FAILED
Error: Unexpected request: GET /admin-ng/resources/services/filters.json
Expected POST /services/sanitize in /Users/stauber/Development/switch-opencast-2.2/modules/matterhorn-admin-ui-ng/src/main/webapp/scripts/lib/angular/angular-mocks.js (line 1227)
$httpBackend@/Users/stauber/Development/switch-opencast-2.2/modules/matterhorn-admin-ui-ng/src/main/webapp/scripts/lib/angular/angular-mocks.js:1227:90
sendReq@/Users/stauber/Development/switch-opencast-2.2/modules/matterhorn-admin-ui-ng/bower_components/angular/angular.js:9694:21
serverRequest@/Users/stauber/Development/switch-opencast-2.2/modules/matterhorn-admin-ui-ng/bower_components/angular/angular.js:9406:23
processQueue@/Users/stauber/Development/switch-opencast-2.2/modules/matterhorn-admin-ui-ng/bower_components/angular/angular.js:13318:29
/Users/stauber/Development/switch-opencast-2.2/modules/matterhorn-admin-ui-ng/bower_components/angular/angular.js:13334:39
$eval@/Users/stauber/Development/switch-opencast-2.2/modules/matterhorn-admin-ui-ng/bower_components/angular/angular.js:14570:28
$digest@/Users/stauber/Development/switch-opencast-2.2/modules/matterhorn-admin-ui-ng/bower_components/angular/angular.js:14386:36
flush@/Users/stauber/Development/switch-opencast-2.2/modules/matterhorn-admin-ui-ng/src/main/webapp/scripts/lib/angular/angular-mocks.js:1525:45
/Users/stauber/Development/switch-opencast-2.2/modules/matterhorn-admin-ui-ng/src/test/resources/test/unit/modules/systems/controllers/servicesControllerSpec.js:39:31
PhantomJS 2.1.1 (Mac OS X 0.0.0) Services controller #sanitize on success updates the table FAILED
Error: Unexpected request: GET /admin-ng/resources/services/filters.json
No more request expected in /Users/stauber/Development/switch-opencast-2.2/modules/matterhorn-admin-ui-ng/src/main/webapp/scripts/lib/angular/angular-mocks.js (line 1227)
$httpBackend@/Users/stauber/Development/switch-opencast-2.2/modules/matterhorn-admin-ui-ng/src/main/webapp/scripts/lib/angular/angular-mocks.js:1227:90
sendReq@/Users/stauber/Development/switch-opencast-2.2/modules/matterhorn-admin-ui-ng/bower_components/angular/angular.js:9694:21
serverRequest@/Users/stauber/Development/switch-opencast-2.2/modules/matterhorn-admin-ui-ng/bower_components/angular/angular.js:9406:23
processQueue@/Users/stauber/Development/switch-opencast-2.2/modules/matterhorn-admin-ui-ng/bower_components/angular/angular.js:13318:29
/Users/stauber/Development/switch-opencast-2.2/modules/matterhorn-admin-ui-ng/bower_components/angular/angular.js:13334:39
$eval@/Users/stauber/Development/switch-opencast-2.2/modules/matterhorn-admin-ui-ng/bower_components/angular/angular.js:14570:28
$digest@/Users/stauber/Development/switch-opencast-2.2/modules/matterhorn-admin-ui-ng/bower_components/angular/angular.js:14386:36
flush@/Users/stauber/Development/switch-opencast-2.2/modules/matterhorn-admin-ui-ng/src/main/webapp/scripts/lib/angular/angular-mocks.js:1525:45
/Users/stauber/Development/switch-opencast-2.2/modules/matterhorn-admin-ui-ng/src/test/resources/test/unit/modules/systems/controllers/servicesControllerSpec.js:49:35

Expected Results:
No tests should fail

Workaround (if any):

Status

Assignee

Sven Stauber

Reporter

Sven Stauber

Severity

Build Error

Tags (folksonomy)

None

Components

Fix versions

Affects versions

Priority

Minor
Configure