I just solved it after a miserable 3 hours of trouble-shooting.
SimpleTest seems to have a flaw. It has two different methods for
determining the test_suite table name. During table creation and
insertion of fixture records, it uses the test model name property.
During subsequent interaction with
Wild straw grabbing - is it to do with the pluralisation of the table name?
data/datum/datums?
Jeremy Burns
jeremybu...@me.com
On 10 Apr 2010, at 07:12, Josh wrote:
> Thanks for your response. I have been clearing cache periodically and
> my debug is set to 2. I believe that when running simpl
Thanks for your response. I have been clearing cache periodically and
my debug is set to 2. I believe that when running simpleTest, cake
flashes the cache automatically at debug = 2 but I have been clearing
it myself just to be sure.
No luck still.
Any other ideas?
Check out the new CakePHP Ques
Have you cleared your cache? Clear the contents of all folders under
/app/tmp/cache. Then run your app with debug set to 2 at least once (this
refills the cache). If you are using var $persistModel = true;
in your app_controller, disable that first then re-enable.
Jeremy Burns
jeremybu...@me.
Hello (help!!!),
I had to rename a table in my database. I was able to specify the
useTable in my model so there was no significant knock-on from this
change.
But, my unit tests won't recognize the new table name during table
creation. I can see in the SQL dump that the old table has been
created