mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 18:46:17 +00:00
"Closes #4369"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6617 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
80340da3c5
commit
93d222a1a5
1 changed files with 2 additions and 1 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Reference in a new issue