mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 17:16:18 +00:00
Fix failing test.
This commit is contained in:
parent
4543a4cb88
commit
32f5b6f191
1 changed files with 2 additions and 1 deletions
|
@ -1806,7 +1806,8 @@ class ValidationTest extends CakeTestCase {
|
|||
$this->assertTrue(Validation::inList('one', array('one', 'two')));
|
||||
$this->assertTrue(Validation::inList('two', array('one', 'two')));
|
||||
$this->assertFalse(Validation::inList('three', array('one', 'two')));
|
||||
$this->assertFalse(Validation::inList('one', '1one', array(0, 1, 2, 3)));
|
||||
$this->assertFalse(Validation::inList('1one', array(0, 1, 2, 3)));
|
||||
$this->assertFalse(Validation::inList('one', array(0, 1, 2, 3)));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue