Unit testing and redirects within an exception

2014-03-04 Thread Richard Claydon
Hi I have a unit test here, and it is failing. The headers['location'] key does not have a value in it when the Product-edit() method raises the exception, even though I still call redirect within the catch. Is this expected behavior? If I put the redirect before or after the try...catch

Re: Component code

2010-09-02 Thread Richard Claydon
://groups.google.com/group/cake-php?hl=en -- Richard Claydon Director, UGR Works e: rich...@ugrworks.com w: http://www.ugrworks.com t: 0131 208 2398 Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you