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

Fix phone numbers used in tests #3847

Merged
merged 1 commit into from
Aug 15, 2024
Merged

Conversation

tillprochaska
Copy link
Contributor

This test started to fail with an upgrade of the phonenumbers package (imported via followthemoney) which included updated phone number validation rules. As a result, the phone numbers in this test case didn’t pass validation anymore and were cleaned from the entites created.

At first glance these numbers seemed to be valid German mobile phone numbers and I was worried that there might be a regression in phonenumbers. But according to the International Telecommunication Union, a phone number with the prefix 176 has to be 11 digits long. I adjusted the tests accordingly.

https://www.itu.int/oth/T0202000051/en

This test started to fail with an upgrade of the `phonenumbers` package (imported via `followthemoney`) which included updated phone number validation rules. As a result, the phone numbers in this test case didn’t pass validation anymore and were cleaned from the entites created.

At first glance these numbers seemed to be valid German mobile phone numbers and I was worried that there might be a regression in `phonenumbers`. But according to the International Telecommunication Union, a phone number with the prefix `176` has to be 11 digits long. I adjusted the tests accordingly.

https://www.itu.int/oth/T0202000051/en
@tillprochaska tillprochaska force-pushed the fix/test-phone-numbers branch from ee46f3a to b683010 Compare August 15, 2024 09:43
@tillprochaska tillprochaska merged commit 0b28629 into develop Aug 15, 2024
3 checks passed
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.

1 participant