Details

    • Type: Bug
    • Status: Unverified Fix
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.0-RC6
    • Fix Version/s: 3.1.2-RC1
    • Component/s: Test Suite
    • Labels:
      None

      Description

      The datetime unit tests randomly fail sometimes. This is one of the outputs that I encountered while running the tests:

      There were 4 failures:
       
      1) phpbb_datetime_from_format_test::test_relative_format_date with data set #0 ('2014-10-27 06:01', false, '2014-10-27 06:01')
      Failed asserting that two strings are equal.
      --- Expected
      +++ Actual
      @@ @@
      -'2014-10-27 06:01'
      +'Tomorrow 06:01'
       
      /home/marc/Dokumente/Entwicklung/phpbb/tests/datetime/from_format_test.php:124
       
      2) phpbb_datetime_from_format_test::test_relative_format_date with data set #1 ('2014-10-26 06:01', false, 'Tomorrow 06:01')
      Failed asserting that two strings are equal.
      --- Expected
      +++ Actual
      @@ @@
      -'Tomorrow 06:01'
      +'Today 06:01'
       
      /home/marc/Dokumente/Entwicklung/phpbb/tests/datetime/from_format_test.php:124
       
      3) phpbb_datetime_from_format_test::test_relative_format_date with data set #3 ('2014-10-25 06:01', false, 'Today 06:01')
      Failed asserting that two strings are equal.
      --- Expected
      +++ Actual
      @@ @@
      -'Today 06:01'
      +'Yesterday 06:01'
       
      /home/marc/Dokumente/Entwicklung/phpbb/tests/datetime/from_format_test.php:124
       
      4) phpbb_datetime_from_format_test::test_relative_format_date with data set #5 ('2014-10-24 06:01', false, 'Yesterday 06:01')
      Failed asserting that two strings are equal.
      --- Expected
      +++ Actual
      @@ @@
      -'Yesterday 06:01'
      +'2014-10-24 06:01'
       
      /home/marc/Dokumente/Entwicklung/phpbb/tests/datetime/from_format_test.php:124
      

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Marc Marc
            Reporter:
            Marc Marc
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development