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

Extension tests are broken on current develop

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 3.1.0-a2
    • 3.1.0-a1
    • None
    • None

      There were 7 failures:
       
      1) phpbb_functional_extension_controller_test::test_foo_bar
       
      Failed asserting that '( ! ) Fatal error: Uncaught exception 'ReflectionException' with message 'Class foo\bar\event\permission does not exist' in /home/travis/build/phpbb/phpbb/phpBB/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/ContainerBuilder.php on line 961( ! ) ReflectionException: Class foo\bar\event\permission does not exist in /home/travis/build/phpbb/phpbb/phpBB/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/ContainerBuilder.php on line 961Call Stack#TimemoryFunctionLocation10.0004233920{main}( )../app.php:020.0005235360include( '/home/travis/build/phpbb/phpbb/phpBB/common.php' )../app.php:1930.42422759408Symfony\Component\DependencyInjection\ContainerBuilder->get( )../common.php:124' contains "foo/bar controller handle() method".
       
      /home/travis/build/phpbb/phpbb/tests/functional/extension_controller_test.php:57
       
      2) phpbb_functional_extension_controller_test::test_controller_with_template
       
      Output found before DOCTYPE specification.
       
      Failed asserting that '<br />
       
      <font size='1'><table class='xdebug-error xe-uncaught-exception' dir='ltr' border='1' cellspacing='0' cellpadding='1'>
       
      <tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> Fatal error: Uncaught exception 'ReflectionException' with message 'Class foo\bar\event\permission does not exist' in /home/travis/build/phpbb/phpbb/phpBB/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/ContainerBuilder.php on line <i>961</i></th></tr>
       
      <tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> ReflectionException: Class foo\bar\event\permission does not exist in /home/travis/build/phpbb/phpbb/phpBB/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/ContainerBuilder.php on line <i>961</i></th></tr>
       
      <tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr>
       
      <tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</th><th align='left' bgcolor='#eeeeec'>Function</th><th align='left' bgcolor='#eeeeec'>Location</th></tr>
       
      <tr><td bgcolor='#eeeeec' align='center'>1</td><td bgcolor='#eeeeec' align='center'>0.0000</td><td bgcolor='#eeeeec' align='right'>231440</td><td bgcolor='#eeeeec'>{main}( )</td><td title='/home/travis/build/phpbb/phpbb/phpBB/app.php' bgcolor='#eeeeec'>../app.php<b>:</b>0</td></tr>
       
      <tr><td bgcolor='#eeeeec' align='center'>2</td><td bgcolor='#eeeeec' align='center'>0.0001</td><td bgcolor='#eeeeec' align='right'>232880</td><td bgcolor='#eeeeec'>include( <font color='#00bb00'>'/home/travis/build/phpbb/phpbb/phpBB/common.php'</font> )</td><td title='/home/travis/build/phpbb/phpbb/phpBB/app.php' bgcolor='#eeeeec'>../app.php<b>:</b>19</td></tr>
       
      <tr><td bgcolor='#eeeeec' align='center'>3</td><td bgcolor='#eeeeec' align='center'>0.6295</td><td bgcolor='#eeeeec' align='right'>2757016</td><td bgcolor='#eeeeec'>Symfony\Component\DependencyInjection\ContainerBuilder->get( )</td><td title='/home/travis/build/phpbb/phpbb/phpBB/common.php' bgcolor='#eeeeec'>../common.php<b>:</b>124</td></tr>
       
      </table></font>' starts with "<!DOCTYPE".
       
      /home/travis/build/phpbb/phpbb/tests/test_framework/phpbb_functional_test_case.php:744
       
      /home/travis/build/phpbb/phpbb/tests/test_framework/phpbb_functional_test_case.php:97
       
      /home/travis/build/phpbb/phpbb/tests/functional/extension_controller_test.php:67
       
      3) phpbb_functional_extension_controller_test::test_missing_argument
       
      Failed asserting that 200 matches expected 500.
       
      /home/travis/build/phpbb/phpbb/tests/test_framework/phpbb_functional_test_case.php:779
       
      /home/travis/build/phpbb/phpbb/tests/test_framework/phpbb_functional_test_case.php:738
       
      /home/travis/build/phpbb/phpbb/tests/functional/extension_controller_test.php:80
       
      4) phpbb_functional_extension_controller_test::test_exception_should_result_in_500_status_code
       
      Failed asserting that 200 matches expected 500.
       
      /home/travis/build/phpbb/phpbb/tests/test_framework/phpbb_functional_test_case.php:779
       
      /home/travis/build/phpbb/phpbb/tests/test_framework/phpbb_functional_test_case.php:738
       
      /home/travis/build/phpbb/phpbb/tests/functional/extension_controller_test.php:92
       
      5) phpbb_functional_extension_controller_test::test_error_ext_disabled_or_404
       
      Failed asserting that 200 matches expected 404.
       
      /home/travis/build/phpbb/phpbb/tests/test_framework/phpbb_functional_test_case.php:779
       
      /home/travis/build/phpbb/phpbb/tests/test_framework/phpbb_functional_test_case.php:738
       
      /home/travis/build/phpbb/phpbb/tests/functional/extension_controller_test.php:109
       
      6) phpbb_functional_extension_global_lang_test::test_load_extension_lang_globally
       
      Failed asserting that 'Skip to content' does not contain "Skip to content".
       
      /home/travis/build/phpbb/phpbb/tests/functional/extension_global_lang_test.php:58
       
      7) phpbb_functional_extension_permission_lang_test::test_auto_include_permission_lang_from_extensions
      

            nickvergessen Joas Schilling
            nickvergessen Joas Schilling
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: