Use terser assertions.

This commit is contained in:
mark_story 2013-05-13 20:53:37 -04:00
parent 4d434ec9f3
commit c1b2ca581c

View file

@ -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);
}
/**