Skip to content

Commit 257f101

Browse files
committed
PWA-1303: [M2 Commerce] Gift card incorrectly applied to multiple orders using "free" payment method via graphql
1 parent ab911e5 commit 257f101

File tree

2 files changed

+0
-55
lines changed

2 files changed

+0
-55
lines changed

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

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -275,28 +275,6 @@ public function testPlaceOrderWithNoPaymentMethod()
275275
$this->graphQlMutation($query);
276276
}
277277

278-
/**
279-
* @magentoApiDataFixture Magento/GraphQl/Catalog/_files/simple_product.php
280-
* @magentoConfigFixture default_store carriers/flatrate/active 1
281-
* @magentoConfigFixture default_store carriers/tablerate/active 1
282-
* @magentoApiDataFixture Magento/GraphQl/Quote/_files/guest/create_empty_cart.php
283-
* @magentoApiDataFixture Magento/GraphQl/Quote/_files/guest/set_guest_email.php
284-
* @magentoApiDataFixture Magento/GraphQl/Quote/_files/set_new_shipping_address.php
285-
* @magentoApiDataFixture Magento/GraphQl/Quote/_files/set_free_payment_method.php
286-
* @magentoApiDataFixture Magento/GraphQl/Quote/_files/add_simple_product.php
287-
* @magentoApiDataFixture Magento/GraphQl/Quote/_files/set_new_billing_address.php
288-
* @magentoApiDataFixture Magento/GraphQl/Quote/_files/set_flatrate_shipping_method.php
289-
*/
290-
public function testPlaceOrderWithFreePaymentMethodNonZeroTotal()
291-
{
292-
$reservedOrderId = 'test_quote';
293-
$maskedQuoteId = $this->getMaskedQuoteIdByReservedOrderId->execute($reservedOrderId);
294-
$query = $this->getQuery($maskedQuoteId);
295-
296-
self::expectExceptionMessage('Unable to place order: The requested Payment Method is not available');
297-
$this->graphQlMutation($query);
298-
}
299-
300278
/**
301279
* @magentoApiDataFixture Magento/GraphQl/Catalog/_files/simple_product.php
302280
* @magentoConfigFixture default_store carriers/flatrate/active 1

dev/tests/integration/testsuite/Magento/GraphQl/Quote/_files/set_free_payment_method.php

Lines changed: 0 additions & 33 deletions
This file was deleted.

0 commit comments

Comments
 (0)