Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix wonky tabs.

  • Loading branch information...
commit fb7717c0dad8101d853bea27b1a7f4211046d2b2 1 parent 3b9f880
@markstory markstory authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/Cake/Console/Templates/default/classes/test.ctp
View
4 lib/Cake/Console/Templates/default/classes/test.ctp
@@ -71,9 +71,9 @@ class <?php echo $fullClassName; ?>TestCase extends CakeTestCase {
*/
public function setUp() {
parent::setUp();
- <?php echo $preConstruct; ?>
+<?php echo $preConstruct ? "\t\t" . $preConstruct : ''; ?>
$this-><?php echo $className . ' = ' . $construction; ?>
- <?php echo $postConstruct; ?>
+<?php echo $postConstruct ? "\t\t" . $postConstruct : ''; ?>
}
/**
Please sign in to comment.
Something went wrong with that request. Please try again.