Skip to content

Commit 87757ea

Browse files
committed
MC-18143: Adapt WebAPI to elasticsearch on CI
1 parent 3de207e commit 87757ea

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,6 @@ private function getQueryProductsWithArrayOfCustomAttributes($attributeCode, $fi
220220
/**
221221
* Filter products by custom attribute of dropdown type and filterTypeInput eq
222222
*
223-
* @magentoApiDataFixture Magento/Catalog/_files/category.php
224223
* @magentoApiDataFixture Magento/Catalog/_files/products_with_layered_navigation_custom_attribute.php
225224
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
226225
*/
@@ -434,7 +433,6 @@ private function getDefaultAttributeOptionValue(string $attributeCode) : string
434433
/**
435434
* Full text search for Products and then filter the results by custom attribute ( sort is by defaulty by relevance)
436435
*
437-
* @magentoApiDataFixture Magento/Catalog/_files/category.php
438436
* @magentoApiDataFixture Magento/Catalog/_files/products_with_layered_navigation_custom_attribute.php
439437
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
440438
*/
@@ -582,7 +580,6 @@ public function testSearchAndFilterByCustomAttribute()
582580
/**
583581
* Filter by category and custom attribute
584582
*
585-
* @magentoApiDataFixture Magento/Catalog/_files/category.php
586583
* @magentoApiDataFixture Magento/Catalog/_files/products_with_layered_navigation_custom_attribute.php
587584
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
588585
*/
@@ -2005,6 +2002,7 @@ public function testFilterProductsThatAreOutOfStockWithConfigSettings()
20052002
/**
20062003
* Verify that invalid current page return an error
20072004
*
2005+
* @magentoApiDataFixture Magento/Catalog/_files/category.php
20082006
* @magentoApiDataFixture Magento/Catalog/_files/products_with_layered_navigation_attribute.php
20092007
* @expectedException \Exception
20102008
* @expectedExceptionMessage currentPage value must be greater than 0
@@ -2034,6 +2032,7 @@ public function testInvalidCurrentPage()
20342032
/**
20352033
* Verify that invalid page size returns an error.
20362034
*
2035+
* @magentoApiDataFixture Magento/Catalog/_files/category.php
20372036
* @magentoApiDataFixture Magento/Catalog/_files/products_with_layered_navigation_attribute.php
20382037
* @expectedException \Exception
20392038
* @expectedExceptionMessage pageSize value must be greater than 0

0 commit comments

Comments
 (0)