Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-49974

Unit test failure under Windows in moodlelib_test.php

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.9
    • Fix Version/s: 2.9
    • Component/s: Unit tests
    • Labels:

      Description

      When running unit tests in MSSQL I get the following failure:

      1) core_moodlelib_testcase::test_dst_changes
      Failed asserting that two strings are identical.
      --- Expected
      +++ Actual
      @@ @@
      -Sunday, 26 March 1989, 1:59
      +
       
      C:\xampp\htdocs\master_integration\lib\tests\moodlelib_test.php:1367
      C:\xampp\htdocs\master_integration\lib\phpunit\classes\advanced_testcase.php:80
       
      To re-run:
       c:/xampp/php/phpunit core_moodlelib_testcase lib\tests\moodlelib_test.php
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  11/May/15