git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6617 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
phpnut 2008-04-01 18:00:35 +00:00
parent 80340da3c5
commit 93d222a1a5

View file

@ -704,7 +704,8 @@ class ModelTask extends Shell {
$out = "App::import('Model', '$import');\n\n";
$out .= "class Test{$className} extends {$className} {\n";
$out .= "\tvar \$cacheSources = false;\n}\n\n";
$out .= "\tvar \$cacheSources = false;\n";
$out .= "\tvar \$useDbConfig = 'test_suite';\n}\n\n";
$out .= "class {$className}TestCase extends CakeTestCase {\n";
$out .= "\tvar \${$className} = null;\n";
$out .= "\tvar \$fixtures = array($fixture);\n\n";