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

PP-12107: Fix failing test #1212

Merged
merged 1 commit into from
May 13, 2024
Merged

PP-12107: Fix failing test #1212

merged 1 commit into from
May 13, 2024

Conversation

oswaldquek
Copy link
Contributor

shouldReturnInformationFromBuiltInDefaultBinRangeFiles was failing because in a build on the CI pipeline, real CSVs from Worldpay are copied to the src/main/resources/data-sources folder. Thus the card number 1234567890000000 will fail to be found. To get around this, use a well known test card number 4000056655665556 that is also publicly available in https://docs.stripe.com/testing?locale=en-GB and in the CSV from Worldpay.

This commit also removes "-DskipTests" from the ARM Dockerfile.

shouldReturnInformationFromBuiltInDefaultBinRangeFiles was failing because in a
build on the CI pipeline, real CSVs from Worldpay are copied to the
src/main/resources/data-sources folder. Thus the card number 1234567890000000
will fail to be found. To get around this, use a well known test card number
4000056655665556 that is also publicly available in
https://docs.stripe.com/testing?locale=en-GB and in the CSV from Worldpay.

This commit also removes "-DskipTests" from the ARM Dockerfile.
Copy link
Contributor

@jfharden jfharden left a comment

Choose a reason for hiding this comment

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

💯

@oswaldquek oswaldquek merged commit 1c3dd5b into master May 13, 2024
7 of 8 checks passed
@oswaldquek oswaldquek deleted the PP-12107-fix-build branch May 13, 2024 10:02
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.

None yet

2 participants