Skip to content

Commit ec99fef

Browse files
committed
Adjusted assertion message
1 parent f91b685 commit ec99fef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ public function testOutOfStockVariationToCart()
183183

184184
$response = $this->graphQlMutation($query);
185185

186-
$expectedErrorMessage = 'This product is out of stock.';
186+
$expectedErrorMessage = 'There are no source items with the in stock status';
187187
self::assertEquals($expectedErrorMessage, $response['addProductsToCart']['userInputErrors'][0]['message']);
188188
}
189189

0 commit comments

Comments
 (0)