Tuesday, August 30, 2011

test suite doesn't use $test database connection configuration

I followed the tutorial and defined $test config array in
database.php, set test database to xxx_test

if I don't create this database xxx_test in my mysql database, it
looks like test suite will read data from $default configuration to
build up fixture;

if I create xxx_test database in mysql, strange thing happens, test
suites remove tables from my $default database.

Why is it ? and how should I make cake test suite to build fixture
from xxx_test database?


Thanks in advance

--
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: