mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 11:06:15 +00:00
Use terser assertions.
This commit is contained in:
parent
4d434ec9f3
commit
c1b2ca581c
1 changed files with 2 additions and 4 deletions
|
@ -1464,13 +1464,11 @@ class FormHelperTest extends CakeTestCase {
|
|||
|
||||
$this->Form->setEntity('Contact.1.email');
|
||||
$result = $this->Form->tagIsInvalid();
|
||||
$expected = false;
|
||||
$this->assertSame($expected, $result);
|
||||
$this->assertFalse($result);
|
||||
|
||||
$this->Form->setEntity('Contact.0.name');
|
||||
$result = $this->Form->tagIsInvalid();
|
||||
$expected = false;
|
||||
$this->assertSame($expected, $result);
|
||||
$this->assertFalse($result);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue