Skip to content

Commit 8f0705a

Browse files
author
Andrii Kasian
committed
MAGETWO-32429: Prepare pull request
1 parent 0f5c2ac commit 8f0705a

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

app/code/Magento/Downloadable/Model/SampleRepository.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ public function __construct(
5959

6060
/**
6161
* {@inheritdoc}
62+
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
6263
*/
6364
public function save(
6465
$productSku,

dev/tests/unit/testsuite/Magento/Bundle/Model/Product/TypeTest.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -934,11 +934,7 @@ public function testPrepareForCartAdvancedWithoutSelections()
934934
->setMethods(['groupFactory', 'getType', 'getId', 'getRequired', 'isMultiSelection'])
935935
->disableOriginalConstructor()
936936
->getMock();
937-
/** @var \PHPUnit_Framework_MockObject_MockObject|SelectionCollection $selectionCollection */
938-
$selectionCollection = $this->getMockBuilder('Magento\Bundle\Model\Resource\Selection\Collection')
939-
->setMethods(['getItems'])
940-
->disableOriginalConstructor()
941-
->getMock();
937+
942938
/** @var \PHPUnit_Framework_MockObject_MockObject|\Magento\Catalog\Model\Product $product */
943939
$product = $this->getMockBuilder('Magento\Catalog\Model\Product')
944940
->setMethods(

0 commit comments

Comments
 (0)