When I execute a phpunit test that has
@expectedException \Phalcon\Mvc\Dispatcher\Exception
thrown by \Phalcon\Mvc\Application::handle I get this message:
There was 1 risky test:
1) LicomTest\Api1\AppTest::testLicomApiAppRunMissedIndexController
Test code or tested code did not (only) close its own output buffers
/Users/xxx/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php:151
/Users/xxx/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php:103
OK, but incomplete, skipped, or risky tests!
Tests: 1, Assertions: 1, Risky: 1.
I have ext-phalcon 1.3.4 and I can not upgrade now.
Any workarround to fix it?
thanks in advance