Skip to content

Commit 99dfe22

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

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

dev/tests/functional/tests/app/Magento/Catalog/Test/Block/Product/ProductList/BottomToolbar.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,28 +20,28 @@ class BottomToolbar extends Block
2020
*
2121
* @var string
2222
*/
23-
protected $nextPageSelector = '.item.current + .item a';
23+
private $nextPageSelector = '.item.current + .item a';
2424

2525
/**
2626
* Selector previous element
2727
*
2828
* @var string
2929
*/
30-
protected $previousPageSelector = '.item.pages-item-previous';
30+
private $previousPageSelector = '.item.pages-item-previous';
3131

3232
/**
3333
* Selector limiter block
3434
*
3535
* @var string
3636
*/
37-
protected $optionBlockSelector = '.control';
37+
private $optionBlockSelector = '.control';
3838

3939
/**
4040
* Selector option element
4141
*
4242
* @var string
4343
*/
44-
protected $optionSelector = './/option';
44+
private $optionSelector = './/option';
4545

4646
/**
4747
* Go to the next page

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class CreateFlatCatalogProduct extends Injectable
3737
*
3838
* @var string
3939
*/
40-
protected $configData;
40+
private $configData;
4141

4242
/**
4343
* Factory for Fixtures
@@ -51,14 +51,14 @@ class CreateFlatCatalogProduct extends Injectable
5151
*
5252
* @var Category
5353
*/
54-
protected $category;
54+
private $category;
5555

5656
/**
5757
* CatalogCategoryView page
5858
*
5959
* @var CatalogCategoryView
6060
*/
61-
protected $catalogCategoryView;
61+
private $catalogCategoryView;
6262

6363
/**
6464
* Prepare data

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
-->
88
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../../vendor/magento/mtf/etc/variations.xsd">
99
<testCase name="Magento\Catalog\Test\TestCase\Product\CreateFlatCatalogProduct" summary="Create flat catalog Product" ticketId="MAGETWO-67570">
10-
<variation name="CheckPaginationInStorefront">
10+
<variation name="CheckPaginationInStorefront" ticketId="MAGETWO-67570">
1111
<data name="configData" xsi:type="string">category_flat,product_flat</data>
1212
<data name="productsCount" xsi:type="number">19</data>
1313
<constraint name="Magento\Catalog\Test\Constraint\AssertPaginationCorrectOnStoreFront" />

0 commit comments

Comments
 (0)