Hi! I'm trying to test my controller with redirect in one of its actions.
Redirect to index action of index controller was realized via gotoUrl()
method of Zend_Controller_Action_Helper_Redirector:
$this->_helper->redirector->gotoUrl('/'). On the web-server all works
ideally. But when i run test which tests this controller i receive error:
"Zend_Controller_Action_Exception: Action "error" does not exist and was not
trapped in __call()". To all appearance after redirect in my action next
request dispatches to error action of error controller. But i can't
understand why this happens. Any ideas?
-- 
View this message in context: 
http://www.nabble.com/Testing-of-controller%27s-action-with-redirect-via-Zend_Test-tp21599509p21599509.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to