Saturday, January 29, 2011

Simpletest inflection problem

I'm trying to test a model named game_setting_info - an inflection rule
exists so that CakePHP knows not to look for the pluralized version in
the databsase, but Simpletest appears to be ignoring what I've set in my
bootstrap file. Is there a way to ensure that Simpletest creates the
correct table in the test database? The inflection rule works fine
outside of the test environment, and with debug set to 2 I can see that
it's creating test_suite_game_setting_infos instead of
test_suite_game_setting_info. Can anyone suggest a workaround?

Thanks.

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: