We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8c5565 commit f2c831bCopy full SHA for f2c831b
dev/tests/integration/testsuite/Magento/Wishlist/Controller/Index/CartTest.php
@@ -139,7 +139,9 @@ public function testAddItemWithRelatedProducts(): void
139
$cart = $this->cartFactory->create();
140
$this->assertEquals(3, $cart->getItemsCount());
141
$expectedAddedIds[] = $item->getProductId();
142
- $this->assertEquals($expectedAddedIds, $cart->getProductIds());
+ foreach ($expectedAddedIds as $addedId) {
143
+ $this->assertContains($addedId, $cart->getProductIds());
144
+ }
145
}
146
147
/**
0 commit comments