Skip to content
This repository was archived by the owner on Dec 19, 2019. It is now read-only.

Commit c840eb2

Browse files
author
Vitaliy Boyko
committed
graphQl-296: fixed shipping method test
1 parent 8a3c866 commit c840eb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev/tests/api-functional/testsuite/Magento/GraphQl/Quote/SetShippingMethodOnCartTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public function testSetShippingMethodOnCart()
8080
self::assertArrayHasKey('cart', $response['setShippingMethodsOnCart']);
8181
self::assertEquals($maskedQuoteId, $response['setShippingMethodsOnCart']['cart']['cart_id']);
8282
$addressesInformation = $response['setShippingMethodsOnCart']['cart']['shipping_addresses'];
83-
self::assertCount(2, $addressesInformation);
83+
self::assertCount(1, $addressesInformation);
8484
self::assertEquals(
8585
$addressesInformation[0]['selected_shipping_method']['code'],
8686
$shippingCarrierCode . '_' . $shippingMethodCode

0 commit comments

Comments
 (0)