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

Replace mock arg with SEPA PaymentMethod instance #4161

Merged
merged 1 commit into from
Apr 13, 2020

Conversation

ghubstan
Copy link
Contributor

Test AccountAgeWitnessServiceTest > testArbitratorSignWitness failed
in full gradle build, but passed when run as a single test:

./gradlew :core:cleanTest :core:test \
	--tests "bisq.core.account.witness.AccountAgeWitnessServiceTest"

This test also passed when run in the IDE.

Solved by not passing a mocked PaymentMethod.SEPA argument into the
test's service.getTraderPaymentAccounts() method, where mock paymentId
field was null when running full build's test suites.

Fixes #4158

Test AccountAgeWitnessServiceTest > testArbitratorSignWitness failed
in full gradle build, but passed when run as a single test:

	./gradlew :core:cleanTest :core:test \
		--tests "bisq.core.account.witness.AccountAgeWitnessServiceTest"

This test also passed when run in the IDE.

Solved by not passing a mocked PaymentMethod.SEPA argument into the
test's service.getTraderPaymentAccounts() method, where mock paymentId
field was null when running full build's test suites.

Fix for bisq-network#4158
@ghubstan
Copy link
Contributor Author

close & reopen to force travis build

@ghubstan ghubstan closed this Apr 12, 2020
@ghubstan ghubstan reopened this Apr 12, 2020
@ripcurlx ripcurlx added the is:priority PR or issue marked with this label is up for compensation label Apr 13, 2020
@ripcurlx ripcurlx added this to the v1.3.2 milestone Apr 13, 2020
Copy link
Contributor

@ripcurlx ripcurlx left a comment

Choose a reason for hiding this comment

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

ACK

Solved the problem for me 👍

@ripcurlx ripcurlx merged commit e4ae28e into bisq-network:master Apr 13, 2020
@ghubstan ghubstan deleted the fix-4158 branch April 13, 2020 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
is:priority PR or issue marked with this label is up for compensation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

release-v1.3.2 AccountAgeWitnessServiceTest > testArbitratorSignWitness FAILED
2 participants