Skip to content

Commit eebda3b

Browse files
committed
MAGETWO-61962: Pagination broken in the storefront category page when Flat Category is enabled
1 parent 99dfe22 commit eebda3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev/tests/functional/tests/app/Magento/Catalog/Test/TestCase/Product/CreateFlatCatalogProduct.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ public function tearDown()
128128
*/
129129
private function createBulkOfProducts($productsCount)
130130
{
131-
foreach (range(1, $productsCount) as $element) {
131+
for ($counter = 1; $counter <= $productsCount; $counter++) {
132132
$product = $this->fixtureFactory->createByCode(
133133
'catalogProductSimple',
134134
[

0 commit comments

Comments
 (0)