-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unit test payment method accounts #1092
Conversation
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.
utACK
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.
Nit
account/build.gradle
Outdated
@@ -11,4 +11,6 @@ dependencies { | |||
|
|||
implementation 'network:network' | |||
implementation libs.google.guava | |||
|
|||
testImplementation libs.assertj.core |
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.
This is not needed because AssertJ
is already defined in:
testImplementation libs.assertj.core |
Discovered and fixed some issues along the way. The most important is the removal of HRK as supported currency in Revolut and Wise. HRK was replaced by the Euro in 2023. The presence of HRK was preventing the Revolut and Wise FiatPaymentRails enums from being properly initialized (they were throwing NullPointerException, I think because HRK wasn't found in the currency repository).
538f8d3
to
8fa8b98
Compare
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.
utACK
Discovered and fixed some issues along the way. The most important is the removal of HRK as supported currency in Revolut and Wise. HRK was replaced by the Euro in 2023. The presence of HRK was preventing the Revolut and Wise FiatPaymentRails enums from being properly initialized (they were throwing NullPointerException).
#909