Skip to content

Commit b0ac3ef

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 d4ca339 commit b0ac3ef

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

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

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,8 @@ public function testExecute()
164164
->willReturnSelf();
165165

166166
$productMock = $this->getMock(
167-
\Magento\Catalog\Model\Product::class, ['load', 'getSku', 'getName'],
167+
\Magento\Catalog\Model\Product::class,
168+
['load', 'getSku', 'getName'],
168169
[],
169170
'',
170171
false
@@ -181,9 +182,13 @@ public function testExecute()
181182

182183
$selectMock = $this->getMock(\Magento\Framework\DB\Select::class, [], [], '', false);
183184

184-
$collectionMock = $this->getMock(\Magento\Catalog\Model\ResourceModel\Product\Collection::class
185-
, [], [], '',
186-
false);
185+
$collectionMock = $this->getMock(
186+
\Magento\Catalog\Model\ResourceModel\Product\Collection::class,
187+
[],
188+
[],
189+
'',
190+
false
191+
);
187192
$collectionMock->expects($this->once())
188193
->method('getSelect')
189194
->willReturn($selectMock);

0 commit comments

Comments
 (0)