Skip to content

Commit 4032be0

Browse files
MC-19916: Attribute not showing on layered navigation if no value set for "All Store Views"
1 parent 9bfd3d4 commit 4032be0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,14 @@
3333
$attribute = $attributeRepository->get(ProductAttributeInterface::ENTITY_TYPE_CODE, 'dropdown_without_default');
3434
$attributeRepository->delete($attribute);
3535
} catch (NoSuchEntityException $e) {
36+
//Attribute already deleted
3637
}
3738
try {
3839
/** @var ProductInterface $product */
3940
$product = $productRepository->get('test_attribute_dropdown_without_default');
4041
$productRepository->delete($product);
4142
} catch (NoSuchEntityException $e) {
43+
//Product already deleted
4244
}
4345
$objectManager->get(ProductEav::class)->executeRow($product->getId());
4446

0 commit comments

Comments
 (0)