Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

Commit

Permalink
Add test case for disable attr
Browse files Browse the repository at this point in the history
  • Loading branch information
Chintanvpatel committed Apr 15, 2013
1 parent 4362d91 commit b003a07
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/ZendTest/Form/View/Helper/FormMultiCheckboxTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -364,5 +364,12 @@ public function testGetUncheckedValueSetToFoo()
$uncheckedValue = $this->helper->getUncheckedValue();
$this->assertSame('foo', $uncheckedValue);
}

public function testGetDisableAttributeReturnTrue()
{
$element = new MultiCheckboxElement('foo');
$element->setAttribute('disabled', 'true' );
$this->assertSame('true', $element->getAttribute('disabled'));
}

}

0 comments on commit b003a07

Please sign in to comment.