mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Merge pull request #6591 from ravage84/2.7-testnotblank
Rename test methods after notBlank change
This commit is contained in:
commit
138adf0972
1 changed files with 4 additions and 4 deletions
|
@ -124,11 +124,11 @@ class ValidationTest extends CakeTestCase {
|
|||
}
|
||||
|
||||
/**
|
||||
* testNotEmpty method
|
||||
* Test notBlank method
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function testNotEmpty() {
|
||||
public function testNotBlank() {
|
||||
$this->assertTrue(Validation::notBlank('abcdefg'));
|
||||
$this->assertTrue(Validation::notBlank('fasdf '));
|
||||
$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
|
||||
*/
|
||||
public function testNotEmptyISO88591AppEncoding() {
|
||||
public function testNotBlankISO88591AppEncoding() {
|
||||
Configure::write('App.encoding', 'ISO-8859-1');
|
||||
$this->assertTrue(Validation::notBlank('abcdefg'));
|
||||
$this->assertTrue(Validation::notBlank('fasdf '));
|
||||
|
|
Loading…
Add table
Reference in a new issue