Skip to content

Commit

Permalink
GraphQL-530: [Cart Operations] Update Cart Items validation messages
Browse files Browse the repository at this point in the history
  • Loading branch information
naydav committed Apr 29, 2019
1 parent e04f566 commit 5899e77
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public function testAddProductIfQuantityIsDecimal()
$query = $this->getQuery($maskedQuoteId, $sku, $qty);

$this->expectExceptionMessage(
"Could not add the product with SKU {$sku} to the shopping cart: The fewest you may purchase is 1."
"Could not add the product with SKU {$sku} to the shopping cart: The fewest you may purchase is 1"
);
$this->graphQlMutation($query);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public function testUpdateCartItemDecimalQty()

$qty = 0.5;
$this->expectExceptionMessage(
"Could not update the product with SKU simple_product: The fewest you may purchase is 1."
"Could not update the product with SKU simple_product: The fewest you may purchase is 1"
);
$query = $this->getQuery($maskedQuoteId, $itemId, $qty);
$this->graphQlMutation($query);
Expand Down

0 comments on commit 5899e77

Please sign in to comment.