-
Notifications
You must be signed in to change notification settings - Fork 150
Remove PaymentMethodAdditionalDataInput From Schema #757
Conversation
|
Hey @pmclain. I have found the issue with WebAPI tests. It is the fatal error in fixtures which is currently not supported by the reports: |
|
Hi @lenaorobei, thank you for the review.
|
| --> | ||
| <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd"> | ||
| <module name="Magento_TestModuleAuthorizenetAcceptjs" /> | ||
| </config> No newline at end of file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pmclain , could you please add an empty line after </config> tag. Thanks
|
working on the integration test failures now. these were expected to fail once the CI was configured to run them #772 |
|
Hi @pmclain, thank you for your contribution! |
|
Hi @pmclain, thank you for your contribution! |
This PR removes the PaymentMethodAdditionalDataInput and moves its children up one level into the PaymentMethodInput.
Description (*)
The empty input
PaymentMethodAdditionalDataInputgenerated an invalid schema. This commit updates the implementation for online payment methods and allows this element to be removed. Payment method specific inputs are moved out ofPaymentMethodAdditionalDataInputand intoPaymentMethodInputie:Before
After
This PR also adds tests for the AuthorizenetAcceptjsGraphQl module and the test module for mocking the required response data.
Fixed Issues (if relevant)
Manual testing scenarios (*)
cd dev/tests/api-functional../../../vendor/bin/phpunit testsuite/Magento/GraphQl/AuthorizenetAcceptjs/Customer/SetPaymentMethodTest.php3.
../../../vendor/bin/phpunit testsuite/Magento/GraphQl/AuthorizenetAcceptjs/Guest/SetPaymentMethodTest.phpContribution checklist (*)