Skip to content

Commit

Permalink
baked tests match code standard by default
Browse files Browse the repository at this point in the history
  • Loading branch information
AD7six committed May 10, 2012
1 parent 08c3008 commit 6aca803
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/Cake/Console/Templates/default/classes/test.ctp
Expand Up @@ -23,7 +23,7 @@ echo "<?php\n";
App::uses('<?php echo $dependency[0]; ?>', '<?php echo $dependency[1]; ?>'); App::uses('<?php echo $dependency[0]; ?>', '<?php echo $dependency[1]; ?>');
<?php endforeach; ?> <?php endforeach; ?>


<?php if ($mock and strtolower($type) == 'controller'): ?> <?php if ($mock && strtolower($type) === 'controller'): ?>
/** /**
* Test<?php echo $fullClassName; ?> * Test<?php echo $fullClassName; ?>
* *
Expand Down Expand Up @@ -99,7 +99,6 @@ class <?php echo $fullClassName; ?>Test extends CakeTestCase {
* @return void * @return void
*/ */
public function test<?php echo Inflector::camelize($method); ?>() { public function test<?php echo Inflector::camelize($method); ?>() {

} }


<?php endforeach;?> <?php endforeach;?>
Expand Down

0 comments on commit 6aca803

Please sign in to comment.