Skip to content

Commit fd7aba9

Browse files
authored
magento/graphql-ce#682: [Test coverage] Missed parameters at setBillingAddressMutation
- fixed `testSetBillingAddressWithoutRequiredParameters`
1 parent b8801a0 commit fd7aba9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

dev/tests/api-functional/testsuite/Magento/GraphQl/Quote/Customer/SetBillingAddressOnCartTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -553,6 +553,9 @@ public function testSetBillingAddressOnNonExistentCart()
553553
*/
554554
public function testSetBillingAddressWithoutRequiredParameters(string $input, string $message)
555555
{
556+
$maskedQuoteId = $this->getMaskedQuoteIdByReservedOrderId->execute('test_quote');
557+
$input = str_replace('cart_id_value', $maskedQuoteId, $input);
558+
556559
$query = <<<QUERY
557560
mutation {
558561
setBillingAddressOnCart(

0 commit comments

Comments
 (0)