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 update brazilian phone country code #2285

Merged
merged 5 commits into from Mar 30, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions lib/locales/pt-BR.yml
Expand Up @@ -653,6 +653,7 @@ pt-BR:
- "#{Team.main_teams}"
sport: ['handebol', 'basquete', 'futebol', 'UFC', 'volêi', 'tênis']

country_code: ['55']
Copy link
Member

@vbrazo vbrazo Mar 22, 2021

Choose a reason for hiding this comment

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

Ideally, we should have a test that checks if this locale is correct. Could you please add that?

Reference: https://github.com/faker-ruby/faker/blob/master/test/test_pt_br_locale.rb#L20

Copy link
Author

Choose a reason for hiding this comment

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

@vbrazo Done!

I am edit the files directly from GH, that's why so many commits. rs

phone_number:
subscriber_number: ['####']
area_code: ["11", "12", "13", "14", "15", "16", "17", "18", "19", "21", "22", "24", "27", "28", "31", "32", "33", "34", "35", "37", "38", "41", "42", "43", "44", "45", "46", "47", "48", "49", "51", "53", "54", "55", "61", "62", "63", "64", "65", "66", "67", "68", "69", "71", "73", "74", "75", "77", "79", "81", "82", "83", "84", "85", "86", "87", "88", "89", "91", "92", "93", "94", "95", "96", "97", "98", "99"]
Expand Down