Skip to content
Permalink
Browse files

Calling parent methods from overridden methods. Deleting commented ga…

…rbage test.
  • Loading branch information...
markstory committed Jun 22, 2010
1 parent 22baf7f commit 069c270a3d42266f314a35122abe5be05ab8a79c
Showing with 2 additions and 7 deletions.
  1. +2 −7 cake/tests/cases/libs/validation.test.php
@@ -100,6 +100,7 @@ class ValidationTest extends CakeTestCase {
* @return void
*/
function setUp() {
parent::setup();
$this->_appEncoding = Configure::read('App.encoding');
}
@@ -110,6 +111,7 @@ function setUp() {
* @return void
*/
function tearDown() {
parent::tearDown();
Configure::write('App.encoding', $this->_appEncoding);
}
@@ -2121,11 +2123,4 @@ function testUserDefined() {
$this->assertTrue(Validation::userDefined('333', $validator, 'customValidate'));
}
// function testFile() {
// $this->assertTrue(Validation::file(WWW_ROOT . 'img' . DS . 'cake.icon.gif'));
// $this->assertTrue(Validation::file(WWW_ROOT. 'favicon.ico'));
// $this->assertTrue(Validation::file(WWW_ROOT. 'index.php'));
// $this->assertTrue(Validation::file(WWW_ROOT. 'css' . DS . 'cake.generic.css'));
// $this->assertTrue(Validation::file(TEST_CAKE_CORE_INCLUDE_PATH. 'VERSION.txt'));
// }
}

0 comments on commit 069c270

Please sign in to comment.
You can’t perform that action at this time.