Skip to content

Commit dc77d0e

Browse files
committed
MAGETWO-58395: [Backport] An error occurs while saving configurable product - 2.1
1 parent 6c65b4b commit dc77d0e

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

app/code/Magento/ConfigurableProduct/Test/Unit/Model/Product/VariationHandlerTest.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,14 @@
44
* See COPYING.txt for license details.
55
*/
66

7-
// @codingStandardsIgnoreFile
8-
97
namespace Magento\ConfigurableProduct\Test\Unit\Model\Product;
108

119
use Magento\Catalog\Model\Product\Type;
1210
use Magento\ConfigurableProduct\Model\Product\VariationHandler;
1311

1412
/**
15-
* @SuppressWarnings(PHPMD.LongVariable)
13+
* Tests \Magento\ConfigurableProduct\Model\Product\VariationHandler.
14+
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
1615
*/
1716
class VariationHandlerTest extends \PHPUnit_Framework_TestCase
1817
{
@@ -101,7 +100,7 @@ protected function setUp()
101100
$this->product = $this->getMock(\Magento\Catalog\Model\Product::class, ['getMediaGallery'], [], '', false);
102101

103102
$this->model = $this->objectHelper->getObject(
104-
\Magento\ConfigurableProduct\Model\Product\VariationHandler::class,
103+
VariationHandler::class,
105104
[
106105
'productFactory' => $this->productFactoryMock,
107106
'entityFactory' => $this->entityFactoryMock,

0 commit comments

Comments
 (0)