Browse files

baked tests match code standard by default

  • Loading branch information...
1 parent 08c3008 commit 6aca8036f4d65ac6332c6eeccdeef3154fab71c8 @AD7six AD7six committed May 10, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 lib/Cake/Console/Templates/default/classes/test.ctp
View
3 lib/Cake/Console/Templates/default/classes/test.ctp
@@ -23,7 +23,7 @@ echo "<?php\n";
App::uses('<?php echo $dependency[0]; ?>', '<?php echo $dependency[1]; ?>');
<?php endforeach; ?>
-<?php if ($mock and strtolower($type) == 'controller'): ?>
+<?php if ($mock && strtolower($type) === 'controller'): ?>
/**
* Test<?php echo $fullClassName; ?>
*
@@ -99,7 +99,6 @@ class <?php echo $fullClassName; ?>Test extends CakeTestCase {
* @return void
*/
public function test<?php echo Inflector::camelize($method); ?>() {
-
}
<?php endforeach;?>

0 comments on commit 6aca803

Please sign in to comment.