From c1b2ca581c7282685743d68e6a4fb0ec94e2686f Mon Sep 17 00:00:00 2001 From: mark_story Date: Mon, 13 May 2013 20:53:37 -0400 Subject: [PATCH] Use terser assertions. --- lib/Cake/Test/Case/View/Helper/FormHelperTest.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/Cake/Test/Case/View/Helper/FormHelperTest.php b/lib/Cake/Test/Case/View/Helper/FormHelperTest.php index 3f6e26458..138d361cf 100644 --- a/lib/Cake/Test/Case/View/Helper/FormHelperTest.php +++ b/lib/Cake/Test/Case/View/Helper/FormHelperTest.php @@ -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); } /**