Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-11561

Notification functional tests fail using phpunit.xml.all

    Details

    • Type: Bug
    • Status: Unverified Fix
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.1.0-dev
    • Fix Version/s: 3.1.0-a1
    • Component/s: None
    • Labels:
      None

      Description

      Not sure what is causing this. Feel free to have a look.

      afischer@leonard:/var/www/projects/phpbb3 (develop) $ phpunit -c phpunit.xml.all
      PHPUnit 3.7.19 by Sebastian Bergmann.
       
      Configuration read from /var/www/projects/phpbb3/phpunit.xml.all
       
      .................................................I.....SSSS..   61 / 1939 (  3%)
      .....SSSS....................................................  122 / 1939 (  6%)
      .............................................................  183 / 1939 (  9%)
      .............................................................  244 / 1939 ( 12%)
      .............................................................  305 / 1939 ( 15%)
      .............................................................  366 / 1939 ( 18%)
      .I.II........................................................  427 / 1939 ( 22%)
      .............................................................  488 / 1939 ( 25%)
      .............................................................  549 / 1939 ( 28%)
      .............................................................  610 / 1939 ( 31%)
      .............................................................  671 / 1939 ( 34%)
      .....................................................F.F.....  732 / 1939 ( 37%)
      .............................................................  793 / 1939 ( 40%)
      .............................................................  854 / 1939 ( 44%)
      .............................................................  915 / 1939 ( 47%)
      .............................................................  976 / 1939 ( 50%)
      ............................................................. 1037 / 1939 ( 53%)
      ............................................................. 1098 / 1939 ( 56%)
      ............................................................. 1159 / 1939 ( 59%)
      ............................................................. 1220 / 1939 ( 62%)
      ............................................................. 1281 / 1939 ( 66%)
      ............................................................. 1342 / 1939 ( 69%)
      ............................................................. 1403 / 1939 ( 72%)
      ............................................................. 1464 / 1939 ( 75%)
      ............................................................. 1525 / 1939 ( 78%)
      ............................................................. 1586 / 1939 ( 81%)
      ............................................................. 1647 / 1939 ( 84%)
      ............................................................. 1708 / 1939 ( 88%)
      ............................................................. 1769 / 1939 ( 91%)
      ............................................................. 1830 / 1939 ( 94%)
      ............................................................. 1891 / 1939 ( 97%)
      ..............................................
       
      Time: 10:14, Memory: 93.00Mb
       
      There were 2 failures:
       
      1) phpbb_notification_test::test_get_notification_type_id
      Failed asserting that 7 matches expected 1.
       
      /var/www/projects/phpbb3/tests/notification/notification_test.php:105
      /usr/share/php/PHPUnit/TextUI/Command.php:176
      /usr/share/php/PHPUnit/TextUI/Command.php:129
       
      2) phpbb_notification_test::test_subscriptions
      Failed asserting that an array does not have the key 'post'.
       
      /var/www/projects/phpbb3/tests/notification/notification_test.php:153
      /usr/share/php/PHPUnit/TextUI/Command.php:176
      /usr/share/php/PHPUnit/TextUI/Command.php:129
       
      FAILURES!
      Tests: 1931, Assertions: 456455, Failures: 2, Incomplete: 4, Skipped: 8.
      

        Attachments

          Activity

            People

            • Assignee:
              nickvergessen Joas Schilling
              Reporter:
              bantu Andreas Fischer
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: