Commit f944278a by Carsten Brandt

Update ActiveFormTest.php

parent 5d309c20
......@@ -44,10 +44,10 @@ EOF
$this->assertEquals(<<<EOF
<div class="form-group field-dynamicmodel-name">
<input type="email" id="dynamicmodel-name" class="form-control" name="DynamicModel[name]">
<input type="email" id="dynamicmodel-name" class="form-control" name="DynamicModel[name]" required="test">
</div>
EOF
, (string) $form->field($model, 'name', $o)->input('email', ['required' => false]));
, (string) $form->field($model, 'name', $o)->input('email', ['required' => 'test']));
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment