Skip to content

Commit 5058e37

Browse files
MC-31034: Storefront: View configurable product with related, up-sells products
1 parent 9e90a64 commit 5058e37

File tree

1 file changed

+1
-2
lines changed
  • dev/tests/integration/testsuite/Magento/ConfigurableProduct/Block/Product/ProductList

1 file changed

+1
-2
lines changed

dev/tests/integration/testsuite/Magento/ConfigurableProduct/Block/Product/ProductList/RelatedTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,14 +66,13 @@ public function testRenderConfigurableWithLinkedProductOnChild(): void
6666
$html = $this->block->toHtml();
6767
$this->assertNotEmpty($html);
6868
$this->assertNotContains($relatedProduct->getName(), $html);
69-
$this->assertCount(0, $this->block->getItems());
69+
$this->assertEmpty($this->block->getItems());
7070
}
7171

7272
/**
7373
* @magentoDataFixture Magento/Catalog/_files/products_list.php
7474
* @magentoDataFixture Magento/ConfigurableProduct/_files/product_configurable.php
7575
* @return void
76-
* @throws \Magento\Framework\Exception\NoSuchEntityException
7776
*/
7877
public function testLinkedProductsPosition(): void
7978
{

0 commit comments

Comments
 (0)