Skip to content

Commit 74942b0

Browse files
committed
MC-39709: Create automated test for: "Display a hidden product image using layered navigation"
1 parent 442e7e7 commit 74942b0

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

dev/tests/integration/testsuite/Magento/Catalog/_files/product_with_disabled_image.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
use Magento\Catalog\Api\Data\ProductAttributeMediaGalleryEntryInterface;
99
use Magento\Catalog\Api\Data\ProductInterfaceFactory;
10-
use Magento\Catalog\Api\ProductRepositoryInterface;
1110
use Magento\Catalog\Model\Product\Attribute\Source\Status;
1211
use Magento\Catalog\Model\Product\Type;
1312
use Magento\Catalog\Model\Product\Visibility;
@@ -28,11 +27,10 @@
2827
$websiteRepository = $objectManager->get(WebsiteRepositoryInterface::class);
2928
$baseWebsiteId = (int)$websiteRepository->get('base')->getId();
3029
$product = $productFactory->create();
31-
/** @var ProductRepositoryInterface $productRepository */
3230
$product->setTypeId(Type::TYPE_SIMPLE)
3331
->setAttributeSetId($product->getDefaultAttributeSetId())
3432
->setWebsiteIds([$baseWebsiteId])
35-
->setName('Simple Product2')
33+
->setName('Simple product with disabled image')
3634
->setSku('simple_with_disabled_img')
3735
->setPrice(10)
3836
->setMetaTitle('meta title2')

0 commit comments

Comments
 (0)