Add tests for checkout#2014
Open
poojah-adyen wants to merge 2 commits into
Open
Conversation
Contributor
There was a problem hiding this comment.
Code Review
This pull request introduces unit tests and mock response files for various checkout features, including AuPay and DBarai payment methods, stored token serialization, third-party token redundancy info, shopper conversion ID, and PayPal order updates. The reviewer recommended refactoring the duplicate test cases for AuPay and DBarai payments into a single parameterized test to reduce code duplication and improve maintainability.
poojah-adyen
force-pushed
the
checkout-test
branch
2 times, most recently
from
July 23, 2026 09:17
df85778 to
aedfc4d
Compare
poojah-adyen
force-pushed
the
checkout-test
branch
from
July 23, 2026 09:19
aedfc4d to
64b3149
Compare
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Description
This PR adds unit test coverage for the Checkout functionality introduced by the latest OpenAPI (Checkout v72) model update — specifically the new
aupayanddbaraipayment methods, plus several newly added request models and fields. It also strengthens coverage of the CheckoutPaymentMethod oneOf deserialization by adding a failure-path test.Tested scenarios
Fixed issue: