mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-02-12 06:56:24 +00:00
"Removing unneeded :"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6327 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
028c5ab75d
commit
92fedc4f76
1 changed files with 2 additions and 2 deletions
|
@ -648,7 +648,7 @@ class ModelTask extends Shell {
|
||||||
$filename = Inflector::underscore($className).'.test.php';
|
$filename = Inflector::underscore($className).'.test.php';
|
||||||
$this->out("\nBaking unit test for $className...");
|
$this->out("\nBaking unit test for $className...");
|
||||||
|
|
||||||
$header = '$Id' . ':';
|
$header = '$Id';
|
||||||
$content = "<?php \n/* SVN FILE: $header$ */\n/* ". $className ." Test cases generated on: " . date('Y-m-d H:m:s') . " : ". time() . "*/\n{$out}?>";
|
$content = "<?php \n/* SVN FILE: $header$ */\n/* ". $className ." Test cases generated on: " . date('Y-m-d H:m:s') . " : ". time() . "*/\n{$out}?>";
|
||||||
return $this->createFile($path . $filename, $content);
|
return $this->createFile($path . $filename, $content);
|
||||||
}
|
}
|
||||||
|
@ -813,7 +813,7 @@ class ModelTask extends Shell {
|
||||||
$out .= "}\n";
|
$out .= "}\n";
|
||||||
$path = TESTS . DS . 'fixtures' . DS;
|
$path = TESTS . DS . 'fixtures' . DS;
|
||||||
$filename = Inflector::underscore($model).'_fixture.php';
|
$filename = Inflector::underscore($model).'_fixture.php';
|
||||||
$header = '$Id' . ':';
|
$header = '$Id';
|
||||||
$content = "<?php \n/* SVN FILE: $header$ */\n/* ". $model ." Fixure generated on: " . date('Y-m-d H:m:s') . " : ". time() . "*/\n{$out}?>";
|
$content = "<?php \n/* SVN FILE: $header$ */\n/* ". $model ." Fixure generated on: " . date('Y-m-d H:m:s') . " : ". time() . "*/\n{$out}?>";
|
||||||
$this->out("\nBaking test fixture for $model...");
|
$this->out("\nBaking test fixture for $model...");
|
||||||
if ($this->createFile($path . $filename, $content)) {
|
if ($this->createFile($path . $filename, $content)) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue