Skip to content

Commit e8b279c

Browse files
committed
MAGETWO-54257: "Stock Status" attribute is not changed for Variation Simple Product
1 parent 6c913ce commit e8b279c

File tree

1 file changed

+5
-12
lines changed

1 file changed

+5
-12
lines changed

dev/tests/integration/testsuite/Magento/ConfigurableProduct/Model/Product/VariationHandlerTest.php

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,14 @@
1616
*/
1717
class VariationHandlerTest extends \PHPUnit_Framework_TestCase
1818
{
19-
/**
20-
* Object under test
21-
*
22-
* @var \Magento\ConfigurableProduct\Model\Product\VariationHandler
23-
*/
24-
protected $_model;
19+
/** @var \Magento\ConfigurableProduct\Model\Product\VariationHandler */
20+
private $_model;
2521

26-
/**
27-
* @var \Magento\Catalog\Model\Product
28-
*/
29-
protected $_product;
22+
/** @var \Magento\Catalog\Model\Product */
23+
private $_product;
3024

3125
/** @var \Magento\CatalogInventory\Api\StockRegistryInterface */
32-
protected $stockRegistry;
26+
private $stockRegistry;
3327

3428
protected function setUp()
3529
{
@@ -68,7 +62,6 @@ public function testGenerateSimpleProducts($productsData)
6862
$this->assertNotNull($product->getPrice());
6963
$this->assertNotNull($product->getWeight());
7064
$this->assertEquals('1', $stockItem->getIsInStock());
71-
7265
}
7366
}
7467

0 commit comments

Comments
 (0)