"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:
phpnut 2008-01-06 01:50:23 +00:00
parent 028c5ab75d
commit 92fedc4f76

View file

@ -648,7 +648,7 @@ class ModelTask extends Shell {
$filename = Inflector::underscore($className).'.test.php';
$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}?>";
return $this->createFile($path . $filename, $content);
}
@ -813,7 +813,7 @@ class ModelTask extends Shell {
$out .= "}\n";
$path = TESTS . DS . 'fixtures' . DS;
$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}?>";
$this->out("\nBaking test fixture for $model...");
if ($this->createFile($path . $filename, $content)) {