From 5d4520baea3712ef44e1f54c4291e8ce3b193f2e Mon Sep 17 00:00:00 2001 From: Lena Orobei Date: Fri, 7 Jun 2019 15:50:41 -0500 Subject: [PATCH] GraphQl-727: currentPage: 0, currentPage: 1 and currentPage: -1 produces the same output for products query when filtering is used - removed redundant SuppressWarnings --- .../testsuite/Magento/GraphQl/Catalog/ProductSearchTest.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/dev/tests/api-functional/testsuite/Magento/GraphQl/Catalog/ProductSearchTest.php b/dev/tests/api-functional/testsuite/Magento/GraphQl/Catalog/ProductSearchTest.php index 4b7d8d64f9459..d3a3655c08d7a 100644 --- a/dev/tests/api-functional/testsuite/Magento/GraphQl/Catalog/ProductSearchTest.php +++ b/dev/tests/api-functional/testsuite/Magento/GraphQl/Catalog/ProductSearchTest.php @@ -1143,7 +1143,6 @@ public function testFilterProductsThatAreOutOfStockWithConfigSettings() * @magentoApiDataFixture Magento/Catalog/_files/products_with_layered_navigation_attribute.php * @expectedException \Exception * @expectedExceptionMessage currentPage value must be greater than 0 - * @SuppressWarnings(PHPMD.ExcessiveMethodLength) */ public function testInvalidPageNumbers() { @@ -1174,7 +1173,6 @@ public function testInvalidPageNumbers() * @magentoApiDataFixture Magento/Catalog/_files/products_with_layered_navigation_attribute.php * @expectedException \Exception * @expectedExceptionMessage pageSize value must be greater than 0 - * @SuppressWarnings(PHPMD.ExcessiveMethodLength) */ public function testInvalidPageSize() {