Re: Tests - Fixture does not truncate tables

2012-05-24 Thread jeremyharris
I did some research and yes, I believe it is a bug. The problem is that when it tries to create the table and mark it as being created, it will fail because the table already exists and then skips marking it as created, which is what's needed in order for truncate to happen. I'll add it on

Re: Tests - Fixture does not truncate tables

2012-05-24 Thread jeremyharris
Actually it appears you already reported it :) I'll comment there. On Thursday, May 24, 2012 7:17:12 AM UTC-7, jeremyharris wrote: I did some research and yes, I believe it is a bug. The problem is that when it tries to create the table and mark it as being created, it will fail because the

Tests - Fixture does not truncate tables

2012-05-23 Thread Pierre Boutet
Hi, I am using Cake Tests, on cake 2.1.1 (upgraded from cake 1.3) and I have a problem : when running tests, tables are not truncated after each test. I use the params $dropTables = false; because I don't want create tables before each test, only fill them and truncate after tests. I don't find