Closed TomashKhamlai closed 5 years ago
Cover exceptions with api-functional tests: https://github.com/magento/graphql-ce/blob/e02dc94e04228901706936c2cac778679d5dc346/app/code/Magento/QuoteGraphQl/Model/Cart/AssignShippingAddressToCart.php#L54 https://github.com/magento/graphql-ce/blob/e02dc94e04228901706936c2cac778679d5dc346/app/code/Magento/QuoteGraphQl/Model/Cart/AssignBillingAddressToCart.php#L54 https://github.com/magento/graphql-ce/blob/e02dc94e04228901706936c2cac778679d5dc346/app/code/Magento/QuoteGraphQl/Model/Cart/AssignBillingAddressToCart.php#L56
\Magento\GraphQl\Customer\Quote\Customer\SetShippingAddressOnCartTest - testWithInvalidShippingAddressesInput
\Magento\GraphQl\Customer\Quote\Customer\SetBillingAddressOnCartTest - testWithInvalidBillingAddressInput - testSetNotExistedBillingAddressId
Magento\GraphQl\Customer Magento\GraphQl\Quote\Customer
Graphql Functional Testing
https://github.com/magento/graphql-ce/blob/e02dc94e04228901706936c2cac778679d5dc346/app/code/Magento/QuoteGraphQl/Model/Cart/AssignShippingAddressToCart.php#L54
done
https://github.com/magento/graphql-ce/blob/e02dc94e04228901706936c2cac778679d5dc346/app/code/Magento/QuoteGraphQl/Model/Cart/AssignBillingAddressToCart.php#L54
Already covered in dev/tests/api-functional/testsuite/Magento/GraphQl/Quote/Customer/SetBillingAddressOnCartTest.php::testSetNotExistedBillingAddressFromAddressBook()
dev/tests/api-functional/testsuite/Magento/GraphQl/Quote/Customer/SetBillingAddressOnCartTest.php
testSetNotExistedBillingAddressFromAddressBook()
https://github.com/magento/graphql-ce/blob/e02dc94e04228901706936c2cac778679d5dc346/app/code/Magento/QuoteGraphQl/Model/Cart/AssignBillingAddressToCart.php#L56
Description:
Cover exceptions with api-functional tests: https://github.com/magento/graphql-ce/blob/e02dc94e04228901706936c2cac778679d5dc346/app/code/Magento/QuoteGraphQl/Model/Cart/AssignShippingAddressToCart.php#L54 https://github.com/magento/graphql-ce/blob/e02dc94e04228901706936c2cac778679d5dc346/app/code/Magento/QuoteGraphQl/Model/Cart/AssignBillingAddressToCart.php#L54 https://github.com/magento/graphql-ce/blob/e02dc94e04228901706936c2cac778679d5dc346/app/code/Magento/QuoteGraphQl/Model/Cart/AssignBillingAddressToCart.php#L56
TestCases:
Examples:
Magento\GraphQl\Customer Magento\GraphQl\Quote\Customer
Guide:
Graphql Functional Testing