Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
uyab committed Aug 11, 2016
1 parent 4543598 commit f76c339
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/CheckboxTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ public function testDefaultCheckedState()
$expected = '<input type="checkbox" name="above_18" value="1">';
$result = $checkbox->uncheck()->defaultCheckedState(true)->render();

$this->assertEquals($expected, $result);

$checkbox = new Checkbox('above_18');
$expected = '<input type="checkbox" name="above_18" value="1" checked="checked">';
$result = $checkbox->check()->defaultCheckedState(false)->render();
Expand Down

0 comments on commit f76c339

Please sign in to comment.