Gwoo be da man. He pointed me in a much better direction on this.

I defined a CAKE_UNIT_TEST setting in test.php (and bootstrap.php),
used Configure for some test options to decide if the test (when using
testAction()) should bypassSSL, bypassAuth and spoof an Auth User (so
all those functions can also be tested). Nothing modifies core code,
in fact, apart from the settings in the test.php and bootstrap.php,
its all handled in the app_controller. Here is what I did to make sure
this all worked:

http://bin.cakephp.org/view/1197582177

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to