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

Commit f45a672

Browse files
committed
Change Exception message for testAddNonExistentConfigurableProductVariationToCart
Signed-off-by: Tomash Khamlai <[email protected]>
1 parent 7dc9e64 commit f45a672

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dev/tests/api-functional/testsuite/Magento/GraphQl/ConfigurableProduct/AddConfigurableProductToCartTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,8 @@ public function testAddNonExistentConfigurableProductVariationToCart()
265265

266266
$this->expectException(\Exception::class);
267267
$this->expectExceptionMessage(
268-
'Could not add the product with SKU configurable to the shopping cart: Could not find specified product.'
268+
'Could not add the product with SKU configurable to the shopping cart: The product that was requested ' .
269+
'doesn\'t exist. Verify the product and try again.'
269270
);
270271

271272
$this->graphQlMutation($query);

0 commit comments

Comments
 (0)