Skip to content
Snippets Groups Projects
Commit 162e6b38 authored by Michail Slabko's avatar Michail Slabko
Browse files

MAGETWO-44055: [GITHUB] Admin product «Custom Options» tab controls («Import...

MAGETWO-44055: [GITHUB] Admin product «Custom Options» tab controls («Import Options», «Add New Option» buttons) do not work when non-English locale is used #1971
- fix unit
parent fa0b95e0
No related merge requests found
......@@ -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));
......
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