Skip to content

Commit 2c7a668

Browse files
committed
MC-35013: SKU search in Advanced Search page doesn't work
1 parent 700dc99 commit 2c7a668

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

dev/tests/integration/testsuite/Magento/CatalogSearch/_files/product_for_search_with_hyphen_in_sku.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,16 @@
66

77
declare(strict_types=1);
88

9-
require 'searchable_attribute.php';
10-
119
use Magento\Catalog\Api\ProductRepositoryInterface;
1210
use Magento\Catalog\Model\Product\Attribute\Source\Status;
1311
use Magento\Catalog\Model\Product\Type;
1412
use Magento\Catalog\Model\Product\Visibility;
1513
use Magento\Catalog\Model\ProductFactory;
1614
use Magento\TestFramework\Helper\Bootstrap;
1715
use Magento\TestFramework\ObjectManager;
16+
use Magento\TestFramework\Workaround\Override\Fixture\Resolver;
17+
18+
Resolver::getInstance()->requireDataFixture('Magento/CatalogSearch/_files/searchable_attribute.php');
1819

1920
/** @var ObjectManager $objectManager */
2021
$objectManager = Bootstrap::getObjectManager();

0 commit comments

Comments
 (0)