From 36aa65287aa27d33afaeb928c6802d35934aabd3 Mon Sep 17 00:00:00 2001 From: Anton Ivanov Date: Thu, 26 Feb 2015 10:26:41 +0300 Subject: [PATCH] Enh #7449: HtmlTest improvements --- tests/unit/framework/helpers/HtmlTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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));