Skip to content

Commit 5d4520b

Browse files
committed
GraphQl-727: currentPage: 0, currentPage: 1 and currentPage: -1 produces the same output for products query when filtering is used
- removed redundant SuppressWarnings
1 parent 8c1829d commit 5d4520b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

dev/tests/api-functional/testsuite/Magento/GraphQl/Catalog/ProductSearchTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1143,7 +1143,6 @@ public function testFilterProductsThatAreOutOfStockWithConfigSettings()
11431143
* @magentoApiDataFixture Magento/Catalog/_files/products_with_layered_navigation_attribute.php
11441144
* @expectedException \Exception
11451145
* @expectedExceptionMessage currentPage value must be greater than 0
1146-
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
11471146
*/
11481147
public function testInvalidPageNumbers()
11491148
{
@@ -1174,7 +1173,6 @@ public function testInvalidPageNumbers()
11741173
* @magentoApiDataFixture Magento/Catalog/_files/products_with_layered_navigation_attribute.php
11751174
* @expectedException \Exception
11761175
* @expectedExceptionMessage pageSize value must be greater than 0
1177-
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
11781176
*/
11791177
public function testInvalidPageSize()
11801178
{

0 commit comments

Comments
 (0)