Library with use-at-will architecture that extends the functionality of Zend Framework 1. Main features: Improved bootstrapping with lazy loading of resources, declaration of request parameters as argument in controller actions, advanced form creation and validation, mail templates, lightweight controller testing.
The setup in Mol_Test_WebControllerTestCase does not take the layout view helper into account.
Therefore, the view helper does not use the Zend_Layout instance that is injected into the bootstrapper. Instead a global Zend_Layout instance is created when the view helper method getLayout() is called.
The simulated layout should be consistent. Therefore, the layout view helper should provide the same (non-global) instance that is already used by the other components.
The setup in
Mol_Test_WebControllerTestCase
does not take the layout view helper into account. Therefore, the view helper does not use theZend_Layout
instance that is injected into the bootstrapper. Instead a globalZend_Layout
instance is created when the view helper methodgetLayout()
is called.The simulated layout should be consistent. Therefore, the layout view helper should provide the same (non-global) instance that is already used by the other components.