From 162e6b383540bce143551cd3e9de2c4f76b34228 Mon Sep 17 00:00:00 2001 From: Michail Slabko <mslabko@ebay.com> Date: Wed, 21 Oct 2015 15:15:06 +0300 Subject: [PATCH] =?UTF-8?q?MAGETWO-44055:=20[GITHUB]=20Admin=20product=20?= =?UTF-8?q?=C2=ABCustom=20Options=C2=BB=20tab=20controls=20(=C2=ABImport?= =?UTF-8?q?=20Options=C2=BB,=20=C2=ABAdd=20New=20Option=C2=BB=20buttons)?= =?UTF-8?q?=20do=20not=20work=20when=20non-English=20locale=20is=20used=20?= =?UTF-8?q?#1971=20-=20fix=20unit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Unit/Model/Config/Source/Product/Options/TypeTest.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/code/Magento/Catalog/Test/Unit/Model/Config/Source/Product/Options/TypeTest.php b/app/code/Magento/Catalog/Test/Unit/Model/Config/Source/Product/Options/TypeTest.php index 3b3adabdfbc..0696faaa934 100644 --- a/app/code/Magento/Catalog/Test/Unit/Model/Config/Source/Product/Options/TypeTest.php +++ b/app/code/Magento/Catalog/Test/Unit/Model/Config/Source/Product/Options/TypeTest.php @@ -51,7 +51,11 @@ class TypeTest extends \PHPUnit_Framework_TestCase ]; $expect = [ ['value' => '', 'label' => __('-- Please select --')], - ['label' => 'optionLabel', 'optgroup-name' => 'optionLabel', 'value' => [['label' => 'typeLabel', 'value' => 'typeName']]], + [ + 'label' => 'optionLabel', + 'optgroup-name' => 'optionLabel', + 'value' => [['label' => 'typeLabel', 'value' => 'typeName']] + ], ]; $this->productOptionConfig->expects($this->any())->method('getAll')->will($this->returnValue($allOptions)); -- GitLab