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

Do not allow all-0 account numbers for CA; refactor all-0 check for AU #245

Merged
merged 1 commit into from
Oct 3, 2023

Conversation

rrundzansgc
Copy link
Contributor

@rrundzansgc rrundzansgc commented Oct 2, 2023

All-zero CA bank account numbers like 0000000 or 000000000000 should be treated as invalid.

@@ -294,7 +294,6 @@ def passes_country_specific_checks?
case country_code
when "DE" then supports_iban_determination?
when "SE" then valid_swedish_details?
when "AU" then valid_australian_details?
Copy link
Contributor

Choose a reason for hiding this comment

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

Why has this been deleted?

Copy link
Contributor Author

@rrundzansgc rrundzansgc Oct 2, 2023

Choose a reason for hiding this comment

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

Well.. This is what happens when you forget to self-review your PRs...

Copy link
Contributor

@JoeSouthan JoeSouthan left a comment

Choose a reason for hiding this comment

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

Can you add a little to the description please?

@rrundzansgc rrundzansgc changed the title do not allow all-0 account numbers for CA; refactor all-0 check for AU Do not allow all-0 account numbers for CA; refactor all-0 check for AU Oct 2, 2023
@rrundzansgc rrundzansgc merged commit 6496977 into master Oct 3, 2023
4 checks passed
@rrundzansgc rrundzansgc deleted the ca_improvements branch October 3, 2023 09:48
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.

2 participants