Skip to content

Commit f13585f

Browse files
author
Oleksii Korshenko
committed
MAGETWO-55589: Wrong algorithm for calculation batch size on category indexing
- fixed static tests
1 parent a65e7da commit f13585f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/internal/Magento/Framework/Test/Unit/DB/Query/BatchIteratorTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,7 @@ public function testNext()
188188
$this->connectionMock->expects($this->exactly(3))
189189
->method('fetchRow')
190190
->with($this->wrapperSelectMock)
191-
->willReturn(['max' => 25, 'cnt' => 10]
192-
);
191+
->willReturn(['max' => 25, 'cnt' => 10]);
193192

194193
$this->assertEquals($this->selectMock, $this->model->next());
195194
$this->assertEquals(1, $this->model->key());

0 commit comments

Comments
 (0)