Commit 1bea489f by Alexander Makarov

Added test for #5356

parent ef127f68
...@@ -278,6 +278,12 @@ EOD; ...@@ -278,6 +278,12 @@ EOD;
public function testListBox() public function testListBox()
{ {
$expected = <<<EOD $expected = <<<EOD
<select name="test[]" multiple size="4">
</select>
EOD;
$this->assertEqualsWithoutLE($expected, Html::listBox('test', null, [], ['multiple' => true]));
$expected = <<<EOD
<select name="test" size="4"> <select name="test" size="4">
</select> </select>
......
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