Issues

ZF-12508: Bootstrap param is missing in Zend_Controller_Front

Description

Module: Zend_Test_PHPUnit


 public function setUp()
    {
        $this->bootstrap = new \Zend_Application(APPLICATION_ENV, APPLICATION_PATH . '/configs/application.xml');
        parent::setUp();
    }

Then


\Zend_Controller_Front::getInstance()->getParam('bootstrap') is null

Comments

@Angel Please provide a small but working example. (Maybe on Github as Gist) This would help to reproduce the problem.

Thanks a lot!

Yes, i can! Here is example: https://github.com/angelk/zf1unitTestBug/…

This issue has been closed on Jira and moved to GitHub for issue tracking. To continue following the resolution of this issues, please visit: https://github.com/zendframework/zf1/issues/48