If you do not want action to render response, just set $this->autoRender = false; $this->autoLayout = false; // may not be nessecary
On Nov 10, 1:11 am, lee <[email protected]> wrote: > Hello, > > I am trying to test some actions in controller with CakePHP test > framework. But some actions contain exit() function not to render. If > you call that action from framework. It will kill the process, and > test cannot go further. Is there any work around for this problem? > > thank ahead, > J.J --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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 -~----------~----~----~----~------~----~------~--~---
