Skip to content

Commit cb75b81

Browse files
committed
ACP2E-3505: Disabled product still appears in related, upsell, crosssell items in grpahQL query
1 parent 0929769 commit cb75b81

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

dev/tests/api-functional/testsuite/Magento/GraphQl/RelatedProduct/GetRelatedProductsTest.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,11 @@ public function testQueryRelatedProducts()
5252

5353
/**
5454
* @magentoApiDataFixture Magento/Catalog/_files/products_related_disabled.php
55-
* @magentoConfigFixture current_store cataloginventory/options/show_out_of_stock 1
56-
* @magentoConfigFixture current_store catalog/magento_catalogpermissions/enabled 1
57-
* @magentoConfigFixture current_store catalog/magento_catalogpermissions/grant_catalog_category_view 1
58-
* @magentoConfigFixture current_store catalog/magento_catalogpermissions/grant_catalog_product_price 1
59-
* @magentoConfigFixture current_store catalog/magento_catalogpermissions/grant_checkout_items 1
55+
* @magentoConfigFixture default_store cataloginventory/options/show_out_of_stock 1
56+
* @magentoConfigFixture default_store catalog/magento_catalogpermissions/enabled 1
57+
* @magentoConfigFixture default_store catalog/magento_catalogpermissions/grant_catalog_category_view 1
58+
* @magentoConfigFixture default_store catalog/magento_catalogpermissions/grant_catalog_product_price 1
59+
* @magentoConfigFixture default_store catalog/magento_catalogpermissions/grant_checkout_items 1
6060
*/
6161
public function testQueryDisableRelatedProductWithShowOutOfStock()
6262
{

0 commit comments

Comments
 (0)