Fix unit test: adminNg.services.language #toLocalTime converts a zulu time string back to local time FAILED

Steps to reproduce

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

Actual Results:
A unit test of languageService fails:

PhantomJS 2.1.1 (Mac OS X 0.0.0) adminNg.services.language #toLocalTime converts a zulu time string back to local time FAILED
Expected 'Jul 12, 2014' to equal 'Sat Jul 12 12:00:00 2014'.
/Users/stauber/Development/switch-opencast-2.2/modules/matterhorn-admin-ui-ng/src/test/resources/test/unit/shared/services/languageServiceSpec.js:388:60

Expected Results:
The unit test should pass.

Workaround (if any):

Activity

Show:
Sven Stauber
July 8, 2016, 1:08 AM

PR #1047 (https://bitbucket.org/opencast-community/matterhorn/pull-requests/1047/mh-11447-mh-11604-scheduling-conflicts/diff) has changed the format of that method but the unit test was not adapted.

Fixed and reviewed

Assignee

Sven Stauber

Reporter

Sven Stauber

Severity

Build Error

Tags (folksonomy)

None

Components

Fix versions

Affects versions

Priority

Minor