Skip to content

Commit 12f8396

Browse files
authored
ENGCOM-3292: catalog:images:resize total images count calculates incorrectly #18387: #18807
1 parent f38a4fc commit 12f8396

File tree

1 file changed

+1
-2
lines changed
  • app/code/Magento/Catalog/Test/Unit/Model/ResourceModel/Product

1 file changed

+1
-2
lines changed

app/code/Magento/Catalog/Test/Unit/Model/ResourceModel/Product/ImageTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,8 +187,7 @@ protected function getFetchResultCallbackForBatches(int $imagesCount, int $batch
187187
protected function getBatchIteratorCallback(
188188
\PHPUnit_Framework_MockObject_MockObject $selectMock,
189189
int $batchCount
190-
): \Closure
191-
{
190+
): \Closure {
192191
$getBatchIteratorCallback = function () use ($batchCount, $selectMock): array {
193192
$result = [];
194193
$count = $batchCount;

0 commit comments

Comments
 (0)