mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-02-28 22:59:46 +00:00
Slightly improve the bake templates
This commit is contained in:
parent
6c53f8bf93
commit
71e4ed91af
2 changed files with 1 additions and 3 deletions
lib/Cake/Console/Templates/default/classes
|
@ -22,7 +22,6 @@ echo "<?php\n";
|
||||||
?>
|
?>
|
||||||
/**
|
/**
|
||||||
* <?php echo $model; ?> Fixture
|
* <?php echo $model; ?> Fixture
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
class <?php echo $model; ?>Fixture extends CakeTestFixture {
|
class <?php echo $model; ?>Fixture extends CakeTestFixture {
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,6 @@ App::uses('<?php echo $dependency[0]; ?>', '<?php echo $dependency[1]; ?>');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <?php echo $fullClassName; ?> Test Case
|
* <?php echo $fullClassName; ?> Test Case
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
<?php if ($type === 'Controller'): ?>
|
<?php if ($type === 'Controller'): ?>
|
||||||
class <?php echo $fullClassName; ?>Test extends ControllerTestCase {
|
class <?php echo $fullClassName; ?>Test extends ControllerTestCase {
|
||||||
|
|
Loading…
Add table
Reference in a new issue