Dear everyone,

I'm having some problems with redirects while unit testing a controller. 
I'm trying to test a simple login form, and while the code block containing
the redirect line is being executed, the program continues onward and ends
up running the fallback redirect at the end of the action method instead. 
When I manually test the page it works just as it should.  

Another weird thing I noticed, and maybe this is a clue to whats going on or
just another oddity, is that when I echo $this->response->getBody() within a
test, I see my header and footer are both repeated.  I'm using Zend_Layout,
so it seems as if the view content is getting inserted into the layout, and
then the result of THAT is inserted into the layout again.  Why would that
happen?

Thanks,
Zach
-- 
View this message in context: 
http://www.nabble.com/Zend_Test-skipping-over-redirects-tp22821127p22821127.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to