diff --git a/tests/unit/framework/helpers/HtmlTest.php b/tests/unit/framework/helpers/HtmlTest.php index 9ce12f8bcc..a1c731e6d2 100644 --- a/tests/unit/framework/helpers/HtmlTest.php +++ b/tests/unit/framework/helpers/HtmlTest.php @@ -296,7 +296,7 @@ EOD; EOD; - $this->assertEqualsWithoutLE($expected, Html::listBox('test', null, $this->getDataItems2(), ['encodeSpaces' => true])); + $this->assertEqualsWithoutLE($expected, Html::listBox('test', null, $this->getDataItems2(), ['encode' => true])); $expected = << @@ -499,7 +499,7 @@ EOD; 'groups' => [ 'group12' => ['class' => 'group'], ], - 'encodeSpaces' => true, + 'encode' => true, ]; $this->assertEqualsWithoutLE($expected, Html::renderSelectOptions(['value111', 'value1'], $data, $attributes));