Fix broken test

This commit is contained in:
Marc Würth 2015-09-25 17:55:01 +02:00
parent 1ede742d92
commit 5eedc0f2bb

View file

@ -23,10 +23,10 @@ echo "App::uses('{$plugin}AppController', '{$pluginPath}Controller');\n";
?> ?>
/** /**
* <?php echo $controllerName; ?> Controller * <?php echo $controllerName; ?> Controller
*
<?php <?php
if (!$isScaffold) { if (!$isScaffold) {
$defaultModel = Inflector::singularize($controllerName); $defaultModel = Inflector::singularize($controllerName);
echo " *\n";
echo " * @property {$defaultModel} \${$defaultModel}\n"; echo " * @property {$defaultModel} \${$defaultModel}\n";
if (!empty($components)) { if (!empty($components)) {
foreach ($components as $component) { foreach ($components as $component) {