Rename test methods after notBlank change

Was a left-over from #6579
This commit is contained in:
Marc Würth 2015-05-19 15:06:12 +02:00
parent 83e542542c
commit 508b9d1443

View file

@ -124,11 +124,11 @@ class ValidationTest extends CakeTestCase {
} }
/** /**
* testNotEmpty method * Test notBlank method
* *
* @return void * @return void
*/ */
public function testNotEmpty() { public function testNotBlank() {
$this->assertTrue(Validation::notBlank('abcdefg')); $this->assertTrue(Validation::notBlank('abcdefg'));
$this->assertTrue(Validation::notBlank('fasdf ')); $this->assertTrue(Validation::notBlank('fasdf '));
$this->assertTrue(Validation::notBlank('fooo' . chr(243) . 'blabla')); $this->assertTrue(Validation::notBlank('fooo' . chr(243) . 'blabla'));
@ -141,11 +141,11 @@ class ValidationTest extends CakeTestCase {
} }
/** /**
* testNotEmptyISO88591Encoding method * Test notBlank method with ISO88591 encoding
* *
* @return void * @return void
*/ */
public function testNotEmptyISO88591AppEncoding() { public function testNotBlankISO88591AppEncoding() {
Configure::write('App.encoding', 'ISO-8859-1'); Configure::write('App.encoding', 'ISO-8859-1');
$this->assertTrue(Validation::notBlank('abcdefg')); $this->assertTrue(Validation::notBlank('abcdefg'));
$this->assertTrue(Validation::notBlank('fasdf ')); $this->assertTrue(Validation::notBlank('fasdf '));