I'm using the new unit testing functionality in 1.2 to test one of my controllers. Several of its actions contain calls to the redirect() function which messes up the unit tests. Is there a way to prevent redirects from occurring in unit tests?
I tried ob_start() and ob_end_clean() but the browser still gets redirected away from the unit test page. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [EMAIL PROTECTED] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
