Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
catalog:images:resize fails to process all images -> Possible underlying Magento/Framework/DB/Query/Generator issue
- fix unit test - now it can test also not only full batches, but partial as well (139 images with batch size 100);
  • Loading branch information
vpodorozh committed Oct 27, 2018
1 parent 9e9715b commit 546e7ce
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -210,10 +210,12 @@ protected function getBatchIteratorCallback(
public function dataProvider(): array
{
return [
[300, 300],
[300, 100],
[139, 100],
[67, 10],
[154, 47]
[154, 47],
[0, 100]
];
}
}

0 comments on commit 546e7ce

Please sign in to comment.