diff --git a/lib/Cake/Test/Case/View/Helper/CacheHelperTest.php b/lib/Cake/Test/Case/View/Helper/CacheHelperTest.php
index 5f77829c4..768d7a5f5 100644
--- a/lib/Cake/Test/Case/View/Helper/CacheHelperTest.php
+++ b/lib/Cake/Test/Case/View/Helper/CacheHelperTest.php
@@ -49,6 +49,7 @@ class CacheTestController extends Controller {
$this->set('batman', 'bruce wayne');
$this->set('spiderman', 'peter parker');
}
+
}
/**
@@ -84,7 +85,7 @@ class CacheHelperTest extends CakeTestCase {
Configure::write('Cache.check', true);
Configure::write('Cache.disable', false);
App::build(array(
- 'View' => array(CAKE . 'Test' . DS . 'test_app' . DS . 'View'. DS)
+ 'View' => array(CAKE . 'Test' . DS . 'test_app' . DS . 'View' . DS)
), App::RESET);
}
@@ -380,7 +381,6 @@ class CacheHelperTest extends CakeTestCase {
$this->assertTrue(file_exists($filename));
@unlink($filename);
-
$this->Controller->cache_parsing();
$this->Controller->cacheAction = array(
'cache_parsing' => 21600
@@ -398,7 +398,6 @@ class CacheHelperTest extends CakeTestCase {
$this->assertTrue(file_exists($filename));
@unlink($filename);
-
$this->Controller->cache_parsing();
$this->Controller->request->addParams(array(
'controller' => 'cache_test',
diff --git a/lib/Cake/Test/Case/View/Helper/FormHelperTest.php b/lib/Cake/Test/Case/View/Helper/FormHelperTest.php
index 5f2255172..271c69d53 100644
--- a/lib/Cake/Test/Case/View/Helper/FormHelperTest.php
+++ b/lib/Cake/Test/Case/View/Helper/FormHelperTest.php
@@ -182,6 +182,7 @@ class ContactTagsContact extends CakeTestModel {
public function setSchema($schema) {
$this->_schema = $schema;
}
+
}
/**
@@ -217,6 +218,7 @@ class ContactNonStandardPk extends Contact {
unset($this->_schema['id']);
return $this->_schema;
}
+
}
/**
@@ -369,6 +371,7 @@ class OpenidUrl extends CakeTestModel {
$this->invalidate('openid_not_registered');
return true;
}
+
}
/**
@@ -432,6 +435,7 @@ class ValidateUser extends CakeTestModel {
$this->invalidate('email');
return false;
}
+
}
/**
@@ -505,6 +509,7 @@ class ValidateProfile extends CakeTestModel {
$this->invalidate('city');
return false;
}
+
}
/**
@@ -568,6 +573,7 @@ class ValidateItem extends CakeTestModel {
$this->invalidate('description');
return false;
}
+
}
/**
@@ -675,8 +681,6 @@ class FormHelperTest extends CakeTestCase {
Configure::write('Security.salt', $this->oldSalt);
}
-
-
/**
* testFormCreateWithSecurity method
*
@@ -975,7 +979,6 @@ class FormHelperTest extends CakeTestCase {
$this->assertEquals(array('Address.button'), $result);
}
-
/**
* Test that submit inputs created with foo[bar] name attributes are unlocked correctly.
*
@@ -1469,7 +1472,7 @@ class FormHelperTest extends CakeTestCase {
*/
public function testTagIsInvalid() {
$Contact = ClassRegistry::getObject('Contact');
- $Contact->validationErrors[0]['email'] = array('Please provide an email');
+ $Contact->validationErrors[0]['email'] = array('Please provide an email');
$this->Form->setEntity('Contact.0.email');
$result = $this->Form->tagIsInvalid();
@@ -1496,7 +1499,7 @@ class FormHelperTest extends CakeTestCase {
*/
public function testPasswordValidation() {
$Contact = ClassRegistry::getObject('Contact');
- $Contact->validationErrors['password'] = array('Please provide a password');
+ $Contact->validationErrors['password'] = array('Please provide a password');
$result = $this->Form->input('Contact.password');
$expected = array(
@@ -2389,7 +2392,6 @@ class FormHelperTest extends CakeTestCase {
);
$this->assertTags($result, $expected);
-
$this->View->viewVars['users'] = array('value' => 'good', 'other' => 'bad');
$this->Form->request->data = array('Model' => array('user_id' => 'value'));
@@ -5271,7 +5273,6 @@ class FormHelperTest extends CakeTestCase {
$this->assertContains('label for="ModelDateYear"', $result);
}
-
/**
* testMonth method
*
@@ -5613,7 +5614,7 @@ class FormHelperTest extends CakeTestCase {
$result = $this->Form->hour('Model.field', true, array('value' => 'now'));
$thisHour = date('H');
$optValue = date('G');
- $this->assertRegExp('/