|
|
@@ -147,6 +147,11 @@ class Zend_Form_Element_ButtonTest extends PHPUnit_Framework_TestCase
|
|
|
$this->assertContains('Button Label', $html, $html);
|
|
|
$this->assertNotContains('value="', $html);
|
|
|
}
|
|
|
+
|
|
|
+ public function testSetDefaultIgnoredToTrueWhenNotDefined()
|
|
|
+ {
|
|
|
+ $this->assertTrue($this->element->getIgnore());
|
|
|
+ }
|
|
|
|
|
|
/**
|
|
|
* Used by test methods susceptible to ZF-2794, marks a test as incomplete
|