Fix unit test: Event controller #accessSave saves the event access

Steps to reproduce

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

Actual Results:
Besides others, the unit test for the event controller fails:

PhantomJS 2.1.1 (Mac OS X 0.0.0) Event controller #accessSave saves the event access FAILED
Expected spy save to have been called with [ Object({ id: '40518' }), Object({ acl: Object({ ace: [ Object({ action: 'read', allow: true, role: 'admin' }), Object({ action: 'write', allow: true, role: 'admin' }) ] }), override: true }) ] but actual calls were [ Object({ id: '40518' }), Object({ acl: Object({ ace: [ Object({ action: 'read', allow: true, role: 'admin' }), Object({ action: 'write', allow: true, role: 'admin' }) ] }), override: true }), Function, Function ].
/Users/stauber/Development/switch-opencast-2.2/modules/matterhorn-admin-ui-ng/src/test/resources/test/unit/modules/events/controllers/eventControllerSpec.js:269:66

Expected Results:
The unit test should work

Workaround (if any):

Assignee

Sven Stauber

Reporter

Sven Stauber

Severity

Build Error

Tags (folksonomy)

None

Components

Fix versions

Affects versions

Priority

Minor
Configure