Uploaded image for project: 'Opencast'
  1. MH-11727

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed and reviewed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.2.1
    • Labels:
      None
    • Severity:
      Build Error
    • Steps to reproduce:
      Hide
      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):
       





      Show
      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):  

      TestRail: Results

        Attachments

          Activity

            People

            • Assignee:
              staubesv Sven Stauber
              Reporter:
              staubesv Sven Stauber
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                TestRail: Cases