Skip to content

Commit

Permalink
[Wishlist] Remove name from WishlistOutput #920
Browse files Browse the repository at this point in the history
  • Loading branch information
XxXgeoXxX committed Sep 26, 2019
1 parent 7d03bdc commit 7d4a306
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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']);
}

/**
Expand Down

0 comments on commit 7d4a306

Please sign in to comment.