Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-10976

Running tests using phpunit.xml.all fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.1.0-a1
    • 3.1.0-dev
    • None
    • None

      afischer@leonard:/var/www/projects/phpbb3 (develop) $ phpunit; phpunit -c phpunit.xml.functional; phpunit -c phpunit.xml.all
      PHPUnit 3.6.11 by Sebastian Bergmann.
       
      Configuration read from /var/www/projects/phpbb3/phpunit.xml.dist
       
      I............................................................   61 / 1347 (  4%)
      .............................................................  122 / 1347 (  9%)
      .............................................................  183 / 1347 ( 13%)
      .............................................................  244 / 1347 ( 18%)
      .............................................................  305 / 1347 ( 22%)
      .............................................................  366 / 1347 ( 27%)
      .............................................................  427 / 1347 ( 31%)
      .............................................................  488 / 1347 ( 36%)
      .............................................................  549 / 1347 ( 40%)
      .............................................................  610 / 1347 ( 45%)
      .............................................................  671 / 1347 ( 49%)
      .............................................................  732 / 1347 ( 54%)
      .............................................................  793 / 1347 ( 58%)
      .............................................................  854 / 1347 ( 63%)
      .............................................................  915 / 1347 ( 67%)
      .............................................................  976 / 1347 ( 72%)
      ............................................................. 1037 / 1347 ( 76%)
      ............................................................. 1098 / 1347 ( 81%)
      ............................................................. 1159 / 1347 ( 86%)
      ............................................................. 1220 / 1347 ( 90%)
      ............................................................. 1281 / 1347 ( 95%)
      ...................................
       
      Time: 01:52, Memory: 65.75Mb
       
      OK, but incomplete or skipped tests!
      Tests: 1316, Assertions: 10923, Incomplete: 1.
      PHPUnit 3.6.11 by Sebastian Bergmann.
       
      Configuration read from /var/www/projects/phpbb3/phpunit.xml.functional
       
      ...............
       
      Time: 37 seconds, Memory: 54.25Mb
       
      OK (15 tests, 19 assertions)
      PHPUnit 3.6.11 by Sebastian Bergmann.
       
      Configuration read from /var/www/projects/phpbb3/phpunit.xml.all
       
      I............................................................   61 / 1347 (  4%)
      .............................................................  122 / 1347 (  9%)
      ..........................................................FSF  183 / 1347 ( 13%)
      FFEEEEEE.....................................................  244 / 1347 ( 18%)
      .............................................................  305 / 1347 ( 22%)
      .............................................................  366 / 1347 ( 27%)
      .............................................................  427 / 1347 ( 31%)
      .............................................................  488 / 1347 ( 36%)
      .............................................................  549 / 1347 ( 40%)
      .............................................................  610 / 1347 ( 45%)
      .............................................................  671 / 1347 ( 49%)
      .............................................................  732 / 1347 ( 54%)
      .............................................................  793 / 1347 ( 58%)
      .............................................................  854 / 1347 ( 63%)
      .............................................................  915 / 1347 ( 67%)
      .............................................................  976 / 1347 ( 72%)
      ............................................................. 1037 / 1347 ( 76%)
      ............................................................. 1098 / 1347 ( 81%)
      ............................................................. 1159 / 1347 ( 86%)
      ............................................................. 1220 / 1347 ( 90%)
      ............................................................. 1281 / 1347 ( 95%)
      ............................................................. 1342 / 1347 ( 99%)
      .....
       
      Time: 02:45, Memory: 77.00Mb
       
      There were 6 errors:
       
      1) phpbb_functional_extension_controller_test::test_foobar
      InvalidArgumentException: The current node list is empty.
       
      phar:///var/www/projects/phpbb3/vendor/goutte.phar/vendor/Symfony/Component/DomCrawler/Crawler.php:2
      /var/www/projects/phpbb3/tests/functional/extension_controller_test.php:85
       
      2) phpbb_functional_extension_controller_test::test_foo_bar
      InvalidArgumentException: The current node list is empty.
       
      phar:///var/www/projects/phpbb3/vendor/goutte.phar/vendor/Symfony/Component/DomCrawler/Crawler.php:2
      /var/www/projects/phpbb3/tests/functional/extension_controller_test.php:97
       
      3) phpbb_functional_extension_controller_test::test_error_class_name
      InvalidArgumentException: The current node list is empty.
       
      phar:///var/www/projects/phpbb3/vendor/goutte.phar/vendor/Symfony/Component/DomCrawler/Crawler.php:2
      /var/www/projects/phpbb3/tests/functional/extension_controller_test.php:109
       
      4) phpbb_functional_extension_controller_test::test_error_class_type
      InvalidArgumentException: The current node list is empty.
       
      phar:///var/www/projects/phpbb3/vendor/goutte.phar/vendor/Symfony/Component/DomCrawler/Crawler.php:2
      /var/www/projects/phpbb3/tests/functional/extension_controller_test.php:121
       
      5) phpbb_functional_extension_controller_test::test_error_ext_disabled
      InvalidArgumentException: The current node list is empty.
       
      phar:///var/www/projects/phpbb3/vendor/goutte.phar/vendor/Symfony/Component/DomCrawler/Crawler.php:2
      /var/www/projects/phpbb3/tests/functional/extension_controller_test.php:132
       
      6) phpbb_functional_extension_controller_test::test_error_ext_missing
      InvalidArgumentException: The current node list is empty.
       
      phar:///var/www/projects/phpbb3/vendor/goutte.phar/vendor/Symfony/Component/DomCrawler/Crawler.php:2
      /var/www/projects/phpbb3/tests/functional/extension_controller_test.php:142
       
      --
       
       
      There were 4 failures:
       
      1) phpbb_functional_auth_test::test_login
      Failed asserting that '[phpBB Debug] PHP Warning: in file [ROOT]/includes/session.php on line 571: include_once(./includes/auth/auth_.php): failed to open stream: No such file or directory[phpBB Debug] PHP Warning: in file [ROOT]/includes/session.php on line 571: include_once(): Failed opening './includes/auth/auth_.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear:[ROOT]/vendor/phpseclib/phpseclib/phpseclib')[phpBB Debug] PHP Notice: in file [ROOT]/includes/auth/auth.php on line 78: Undefined index: global[phpBB Debug] PHP Notice: in file [ROOT]/includes/auth/auth.php on line 79: Undefined index: local[phpBB Debug] PHP Warning: in file [ROOT]/includes/user.php on line 133: include(./language//common.php): failed to open stream: No such file or directory[phpBB Debug] PHP Warning: in file [ROOT]/includes/user.php on line 133: include(): Failed opening './language//common.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear:[ROOT]/vendor/phpseclib/phpseclib/phpseclib')
      Language file ./language//common.php couldn't be opened.' contains "Please login in order to access the User Control Panel.".
       
      /var/www/projects/phpbb3/tests/test_framework/phpbb_functional_test_case.php:246
      /var/www/projects/phpbb3/tests/functional/auth_test.php:17
       
      2) phpbb_functional_browse_test::test_index
      Failed asserting that 0 is greater than 0.
       
      /var/www/projects/phpbb3/tests/functional/browse_test.php:18
       
      3) phpbb_functional_browse_test::test_viewforum
      Failed asserting that 0 is greater than 0.
       
      /var/www/projects/phpbb3/tests/functional/browse_test.php:24
       
      4) phpbb_functional_browse_test::test_viewtopic
      Failed asserting that 0 is greater than 0.
       
      /var/www/projects/phpbb3/tests/functional/browse_test.php:30
       
      FAILURES!
      Tests: 1346, Assertions: 453358, Failures: 4, Errors: 6, Incomplete: 1, Skipped: 1.

            Oleg Oleg [X] (Inactive)
            bantu Andreas Fischer [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: