ZF-10039: Reopen problems with $this->_frontController->getParam('bootstrap') doesn't work under the unit testing environment
Description
I think, the bug ZF-8193 is still here in 10.6.
Failed asserting that is an instance of class "Zend_Application_Bootstrap_Bootstrap".
I make test project for this bug and with phpunit (3.4 and 3.5 fail) http://github.com/abtris/ZF-8193
There was 1 failure:
1) IndexControllerTest::testIndexAction Failed asserting that is an instance of class "Zend_Application_Bootstrap_Bootstrap".
Comments
Posted by Ramon Henrique Ornelas (ramon) on 2010-11-27T04:11:10.000+0000
This not an issue
Assigning of the parameter bootstrap is done through of the called Zend_Application_Bootstrap_Bootstrap::run().
That happens in Zend_Test_PHPUnit_ControllerTestCase::dispatch() there need that the property Zend_Test_PHPUnit_ControllerTestCase::bootstrap is instance of of Zend_Application.
Simply make a change in setUp().
Greetings Ramon