I waited for this to fall off the 1st page of the discussions before bumping ... no one has used the unit testing on models with multiple associations? :(
I built a quick-and-dirty way to handle these associations by writing an app_model method that loops through all models listed in the model- >tableToModel array and sets all the model useDbConfig properties to 'test' (which should catch all the associations, but doesn't handle any temporary models created in a model method) - but I'm pretty sure this isn't the prescribed method. I'm highly interested to see the "official" way, and I haven't been able to discern it through the code and testing various ideas. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
