Permalink
Browse files

Use terser assertions.

  • Loading branch information...
1 parent 4d434ec commit c1b2ca581c7282685743d68e6a4fb0ec94e2686f @markstory markstory committed May 14, 2013
Showing with 2 additions and 4 deletions.
  1. +2 −4 lib/Cake/Test/Case/View/Helper/FormHelperTest.php
@@ -1464,13 +1464,11 @@ public function testTagIsInvalid() {
$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);
}
/**

0 comments on commit c1b2ca5

Please sign in to comment.