Skip to content

Commit d4ca339

Browse files
committed
MAGETWO-65362: [Backport] - [Performance] Is there a recommended way to set indexes when importing 1000's of products via .csv - for 2.1.6
1 parent 5a20131 commit d4ca339

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

setup/src/Magento/Setup/Test/Unit/Fixtures/OrdersFixtureTest.php

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,12 @@
88

99
use \Magento\Setup\Fixtures\OrdersFixture;
1010

11+
/**
12+
* Class OrdersFixtureTest
13+
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
14+
*/
1115
class OrdersFixtureTest extends \PHPUnit_Framework_TestCase
1216
{
13-
1417
/**
1518
* @var \PHPUnit_Framework_MockObject_MockObject|\Magento\Setup\Fixtures\FixtureModel
1619
*/
@@ -160,7 +163,12 @@ public function testExecute()
160163
->method('load')
161164
->willReturnSelf();
162165

163-
$productMock = $this->getMock(\Magento\Catalog\Model\Product::class, ['load', 'getSku', 'getName'], [], '', false);
166+
$productMock = $this->getMock(
167+
\Magento\Catalog\Model\Product::class, ['load', 'getSku', 'getName'],
168+
[],
169+
'',
170+
false
171+
);
164172
$productMock->expects($this->exactly(2))
165173
->method('load')
166174
->willReturnSelf();

0 commit comments

Comments
 (0)