Skip to content

Commit 1448b79

Browse files
committed
PWA-1567: UpdateBundleProductsFromWishlist Web-API test fails with MariaDB
* Addressed code review comments
1 parent a5859ef commit 1448b79

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dev/tests/api-functional/testsuite/Magento/GraphQl/Wishlist/UpdateBundleProductsFromWishlistTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,8 @@ private function getBundleProductOptionUid(string $bundleProductSku, string $sel
282282

283283
// Search the specified bundle product for the specified option based on the product sku
284284
foreach ($bundleProductOptions as $bundleProductOption) {
285-
if ($bundleProductOption['product']['sku'] === $selectedOptionSku) {
285+
if (isset($bundleProductOption['product'])
286+
&& $bundleProductOption['product']['sku'] === $selectedOptionSku) {
286287
$bundleProductOptionUid = $bundleProductOption['uid'];
287288
break;
288289
}

0 commit comments

Comments
 (0)