From cbf9699f175f1af422208254fae1e3d446303780 Mon Sep 17 00:00:00 2001 From: Andrii Lugovyi Date: Fri, 20 Nov 2015 21:03:39 +0200 Subject: [PATCH] MAGETWO-44971: [GITHUB] Configurable product issues after saving #2226 - fix static --- .../Magento/ConfigurableProduct/Test/Unit/Helper/DataTest.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/code/Magento/ConfigurableProduct/Test/Unit/Helper/DataTest.php b/app/code/Magento/ConfigurableProduct/Test/Unit/Helper/DataTest.php index a93aff93aa907..561cb5eb8aba2 100644 --- a/app/code/Magento/ConfigurableProduct/Test/Unit/Helper/DataTest.php +++ b/app/code/Magento/ConfigurableProduct/Test/Unit/Helper/DataTest.php @@ -76,7 +76,6 @@ public function testGetOptions() $currentProductMock = $this->getMock( 'Magento\Catalog\Model\Product', ['getTypeInstance', '__wakeup'], [], '', false ); - $attributesCount = 3; $attributes = []; for ($i = 1; $i < $attributesCount; $i++) { @@ -155,7 +154,6 @@ public function testGetOptions() 'attribute_code_value_2' => ['product_id_1', 'product_id_2'], ], ]; - $this->_imageHelperMock->expects($this->any()) ->method('init') ->willReturnSelf();