mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Correcting file naming for test cases
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5962 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
557a1bf239
commit
90d6659918
2 changed files with 2 additions and 2 deletions
|
@ -469,7 +469,7 @@ class ControllerTask extends Shell {
|
|||
$out .= "\n?>";
|
||||
|
||||
$path = CONTROLLER_TESTS;
|
||||
$filename = $this->_pluralName($className).'_controller.test.php';
|
||||
$filename = Inflector::underscore($className).'_controller.test.php';
|
||||
|
||||
$this->out("Baking unit test for $className...");
|
||||
$Folder =& new Folder($path, true);
|
||||
|
|
|
@ -588,7 +588,7 @@ class ModelTask extends Shell {
|
|||
$out .= "\n?>";
|
||||
|
||||
$path = MODEL_TESTS;
|
||||
$filename = $this->_singularName($className).'.test.php';
|
||||
$filename = Inflector::underscore($className).'.test.php';
|
||||
|
||||
$this->out("Baking unit test for $className...");
|
||||
$Folder =& new Folder($path, true);
|
||||
|
|
Loading…
Reference in a new issue