Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mirko@mirko-desktop:~/Libs/Plugins/Assets$ phpunit tests/TestCase/Controller/AssetsControllerTest.php
- PHPUnit 5.4.6 by Sebastian Bergmann and contributors.
- F 1 / 1 (100%)
- Time: 37 ms, Memory: 6.00MB
- There was 1 failure:
- 1) Assets\Test\TestCase\Controller\AssetsControllerTest::testAsset
- Cake\Routing\Exception\MissingControllerException: Controller class could not be found. in /home/mirko/Libs/Plugins/Assets/vendor/cakephp/cakephp/src/Http/ControllerFactory.php:91
- Stack trace:
- #0 /home/mirko/Libs/Plugins/Assets/vendor/cakephp/cakephp/src/Http/ControllerFactory.php(67): Cake\Http\ControllerFactory->missingController(Object(Cake\Network\Request))
- #1 /home/mirko/Libs/Plugins/Assets/vendor/cakephp/cakephp/src/Http/ActionDispatcher.php(93): Cake\Http\ControllerFactory->create(Object(Cake\Network\Request), Object(Cake\TestSuite\Stub\Response))
- #2 /home/mirko/Libs/Plugins/Assets/vendor/cakephp/cakephp/src/Routing/Dispatcher.php(60): Cake\Http\ActionDispatcher->dispatch(Object(Cake\Network\Request), Object(Cake\TestSuite\Stub\Response))
- #3 /home/mirko/Libs/Plugins/Assets/vendor/cakephp/cakephp/src/TestSuite/LegacyRequestDispatcher.php(54): Cake\Routing\Dispatcher->dispatch(Object(Cake\Network\Request), Object(Cake\TestSuite\Stub\Response))
- #4 /home/mirko/Libs/Plugins/Assets/vendor/cakephp/cakephp/src/TestSuite/IntegrationTestCase.php(422): Cake\TestSuite\LegacyRequestDispatcher->execute(Object(Cake\Network\Request))
- #5 /home/mirko/Libs/Plugins/Assets/vendor/cakephp/cakephp/src/TestSuite/IntegrationTestCase.php(340): Cake\TestSuite\IntegrationTestCase->_sendRequest('/assets/css/e71...', 'GET')
- #6 /home/mirko/Libs/Plugins/Assets/tests/TestCase/Controller/AssetsControllerTest.php(46): Cake\TestSuite\IntegrationTestCase->get('/assets/css/e71...')
- #7 [internal function]: Assets\Test\TestCase\Controller\AssetsControllerTest->testAsset()
- #8 /usr/share/php/PHPUnit/Framework/TestCase.php(1081): ReflectionMethod->invokeArgs(Object(Assets\Test\TestCase\Controller\AssetsControllerTest), Array)
- #9 /usr/share/php/PHPUnit/Framework/TestCase.php(932): PHPUnit_Framework_TestCase->runTest()
- #10 /usr/share/php/PHPUnit/Framework/TestResult.php(701): PHPUnit_Framework_TestCase->runBare()
- #11 /usr/share/php/PHPUnit/Framework/TestCase.php(888): PHPUnit_Framework_TestResult->run(Object(Assets\Test\TestCase\Controller\AssetsControllerTest))
- #12 /usr/share/php/PHPUnit/Framework/TestSuite.php(753): PHPUnit_Framework_TestCase->run(Object(PHPUnit_Framework_TestResult))
- #13 /usr/share/php/PHPUnit/TextUI/TestRunner.php(465): PHPUnit_Framework_TestSuite->run(Object(PHPUnit_Framework_TestResult))
- #14 /usr/share/php/PHPUnit/TextUI/Command.php(162): PHPUnit_TextUI_TestRunner->doRun(Object(PHPUnit_Framework_TestSuite), Array, true)
- #15 /usr/share/php/PHPUnit/TextUI/Command.php(113): PHPUnit_TextUI_Command->run(Array, true)
- #16 /usr/bin/phpunit(29): PHPUnit_TextUI_Command::main()
- #17 {main}
- /home/mirko/Libs/Plugins/Assets/vendor/cakephp/cakephp/src/TestSuite/IntegrationTestCase.php:682
- /home/mirko/Libs/Plugins/Assets/vendor/cakephp/cakephp/src/TestSuite/IntegrationTestCase.php:621
- /home/mirko/Libs/Plugins/Assets/tests/TestCase/Controller/AssetsControllerTest.php:48
- FAILURES!
- Tests: 1, Assertions: 0, Failures: 1.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement