diff --git a/dev/tests/api-functional/testsuite/Magento/GraphQl/Wishlist/CustomerWishlistsTest.php b/dev/tests/api-functional/testsuite/Magento/GraphQl/Wishlist/CustomerWishlistsTest.php index cdc774f08c2cb..2a6c70161a623 100644 --- a/dev/tests/api-functional/testsuite/Magento/GraphQl/Wishlist/CustomerWishlistsTest.php +++ b/dev/tests/api-functional/testsuite/Magento/GraphQl/Wishlist/CustomerWishlistsTest.php @@ -67,11 +67,10 @@ public function testGetCustomerWishlists(): void $this->getCustomerAuthHeaders('customer@example.com', 'password') ); - $this->assertEquals($wishlistItem->getItemsCount(), $response['wishlists'][0]['items_count']); - $this->assertEquals($wishlistItem->getSharingCode(), $response['wishlists'][0]['sharing_code']); - $this->assertEquals($wishlistItem->getUpdatedAt(), $response['wishlists'][0]['updated_at']); - $this->assertEquals('simple', $response['wishlists'][0]['items'][0]['product']['sku']); - + $this->assertEquals($wishlistItem->getItemsCount(), $response['customer']['wishlists'][0]['items_count']); + $this->assertEquals($wishlistItem->getSharingCode(), $response['customer']['wishlists'][0]['sharing_code']); + $this->assertEquals($wishlistItem->getUpdatedAt(), $response['customer']['wishlists'][0]['updated_at']); + $this->assertEquals('simple', $response['customer']['wishlists'][0]['items'][0]['product']['sku']); } /**