Skip to content

Commit 54d2e31

Browse files
author
Roman Lytvynenko
committed
MAGETWO-99500: Configurable options attribute position is not saved correctly via API
1 parent 86706b1 commit 54d2e31

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

app/code/Magento/ConfigurableProduct/Test/Unit/Model/LinkManagementTest.php

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,13 @@ public function testAddChild()
152152

153153
$extensionAttributesMock = $this->getMockBuilder(\Magento\Catalog\Api\Data\ProductExtension::class)
154154
->disableOriginalConstructor()
155-
->setMethods([
156-
'getConfigurableProductOptions', 'setConfigurableProductOptions', 'setConfigurableProductLinks'
157-
])
155+
->setMethods(
156+
[
157+
'getConfigurableProductOptions',
158+
'setConfigurableProductOptions',
159+
'setConfigurableProductLinks'
160+
]
161+
)
158162
->getMock();
159163
$optionMock = $this->getMockBuilder(\Magento\ConfigurableProduct\Api\Data\Option::class)
160164
->disableOriginalConstructor()

0 commit comments

Comments
 (0)