Skip to content

Commit 7d4a306

Browse files
committed
[Wishlist] Remove name from WishlistOutput #920
1 parent 7d03bdc commit 7d4a306

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

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

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,10 @@ public function testGetCustomerWishlists(): void
6767
$this->getCustomerAuthHeaders('customer@example.com', 'password')
6868
);
6969

70-
$this->assertEquals($wishlistItem->getItemsCount(), $response['wishlists'][0]['items_count']);
71-
$this->assertEquals($wishlistItem->getSharingCode(), $response['wishlists'][0]['sharing_code']);
72-
$this->assertEquals($wishlistItem->getUpdatedAt(), $response['wishlists'][0]['updated_at']);
73-
$this->assertEquals('simple', $response['wishlists'][0]['items'][0]['product']['sku']);
74-
70+
$this->assertEquals($wishlistItem->getItemsCount(), $response['customer']['wishlists'][0]['items_count']);
71+
$this->assertEquals($wishlistItem->getSharingCode(), $response['customer']['wishlists'][0]['sharing_code']);
72+
$this->assertEquals($wishlistItem->getUpdatedAt(), $response['customer']['wishlists'][0]['updated_at']);
73+
$this->assertEquals('simple', $response['customer']['wishlists'][0]['items'][0]['product']['sku']);
7574
}
7675

7776
/**

0 commit comments

Comments
 (0)