Skip to content
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

Merged
merged 1 commit into from
Aug 3, 2023

Conversation

namloan
Copy link
Contributor

@namloan namloan commented Aug 2, 2023

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

Copy link
Contributor

@HenrikJannsen HenrikJannsen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

Copy link
Contributor

@alvasw alvasw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit

@@ -11,4 +11,6 @@ dependencies {

implementation 'network:network'
implementation libs.google.guava

testImplementation libs.assertj.core
Copy link
Contributor

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:

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).
@namloan namloan force-pushed the payment_accounts_tests branch from 538f8d3 to 8fa8b98 Compare August 3, 2023 16:55
Copy link
Contributor

@alvasw alvasw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

@alvasw alvasw merged commit 3999587 into bisq-network:main Aug 3, 2023
@namloan namloan deleted the payment_accounts_tests branch August 3, 2023 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants