Greetings,
Firstly I apologize for double posting, as I am not sure which list is the
correct one to post to.
I am having trouble using Zend_Test. I am using ZF trunk as at July 8
(Yesterday) 09:31 (GMT-5)
My Application works as intended when ran from the browser, I am now trying
to implement Zend_Test but getting the following error.
Fatal error: Call to a member function getPluginResource() on a non-object
in ......./Controller/Plugin/Log.php on line 10.
Up to Line 10 reads as follows:
.
.
.
public function preDispatch($request)
{
$bootstrap =
Zend_Controller_Front::getInstance()->getParam('bootstrap');
$resource = $bootstrap->getPluginResource('session');
I have tried adding the in the setUp() following but without success:
$this->getFrontController()->setParam('bootstrap', $this->bootstrap);
Please let me know what I need to do in order to get the bootstrap to be
available within the Plugin?
BR,
Nomolos