Hello all,

For the functional test of my system, I am mocking some of the
controller methods.
The only one I am having problems with is the render method.
This is in my AppController:

function render($action = null, $layout = null, $file = null) {
    if (CAKE_UNIT_TEST) {
    } else {
      parent::render($action, $layout, $file);
    }
  }

This works well for the test, but for the real system it just prints a
blank screen.
Am I doing something wrong?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to