I was under the impression that tests were supposed to create tables
in the test db as needed, but I must be doing something wrong...

I have app_production and an app_test databases, and I set
app_production up just how I wanted it, kept app_test empty, and
used ./cake bake all to generate the models, controllers, views, and
tests.  I have not altered the tests in any way.  The functional tests
work fine, but the unit tests give me a 'Database table model_name for
Model ModelName was not found' for all models.  My test database
should be connected fine, as it is set up the same as my production db
and it is connecting just fine.  ./cake testsuite app all is not
working either, I get a similar error message.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to