Skip to content

Commit 689a0b9

Browse files
committed
MC-19689: Simple product disappearing in the configurable grid after qty set to 0
1 parent 3051ff6 commit 689a0b9

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

app/code/Magento/ConfigurableProduct/Test/Unit/Model/Product/Type/ConfigurableTest.php

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -266,10 +266,12 @@ public function testSave()
266266
->with('_cache_instance_used_product_attribute_ids')
267267
->willReturn(true);
268268
$extensionAttributes = $this->getMockBuilder(ProductExtensionInterface::class)
269-
->setMethods([
270-
'getConfigurableProductOptions',
271-
'getConfigurableProductLinks'
272-
])
269+
->setMethods(
270+
[
271+
'getConfigurableProductOptions',
272+
'getConfigurableProductLinks'
273+
]
274+
)
273275
->getMockForAbstractClass();
274276
$this->entityMetadata->expects($this->any())
275277
->method('getLinkField')

0 commit comments

Comments
 (0)