Skip to content

Commit 5899e77

Browse files
committed
GraphQL-530: [Cart Operations] Update Cart Items validation messages
1 parent e04f566 commit 5899e77

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dev/tests/api-functional/testsuite/Magento/GraphQl/CatalogInventory/AddProductToCartTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public function testAddProductIfQuantityIsDecimal()
9494
$query = $this->getQuery($maskedQuoteId, $sku, $qty);
9595

9696
$this->expectExceptionMessage(
97-
"Could not add the product with SKU {$sku} to the shopping cart: The fewest you may purchase is 1."
97+
"Could not add the product with SKU {$sku} to the shopping cart: The fewest you may purchase is 1"
9898
);
9999
$this->graphQlMutation($query);
100100
}

dev/tests/api-functional/testsuite/Magento/GraphQl/CatalogInventory/UpdateCartItemsTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function testUpdateCartItemDecimalQty()
4848

4949
$qty = 0.5;
5050
$this->expectExceptionMessage(
51-
"Could not update the product with SKU simple_product: The fewest you may purchase is 1."
51+
"Could not update the product with SKU simple_product: The fewest you may purchase is 1"
5252
);
5353
$query = $this->getQuery($maskedQuoteId, $itemId, $qty);
5454
$this->graphQlMutation($query);

0 commit comments

Comments
 (0)