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

Bug Fix: BIC Collission (Issue 1907) #2037

Merged
merged 5 commits into from Jun 6, 2020
Merged

Bug Fix: BIC Collission (Issue 1907) #2037

merged 5 commits into from Jun 6, 2020

Conversation

jremes-foss
Copy link
Contributor

Issue #1907

Example:

#1907

Description:

The sample of BIC numbers was too small with only 22 entries, which caused some collisions. This pull request fixes the issue by increasing the BIC number pool and adds unit test to make sure the pool is large enough.

For the good measure, I ran bundle exec rake 100 times in a loop, and during that loop there were no failures. Hence, I'm confident the pool is now large enough for now.

Copy link
Member

@vbrazo vbrazo left a comment

Choose a reason for hiding this comment

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

Awesome, thanks 👍

@jremes-foss jremes-foss merged commit bce79ff into faker-ruby:master Jun 6, 2020
@jremes-foss jremes-foss deleted the bug/iban-bic-collission branch June 6, 2020 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants