Closed serpro69 closed 1 year ago
Looks like when country_code was removed from the address, then addresses generated with en-US are created with random country codes instead.
country_code
en-US
@Test fun faker() { // 1.14.0 - broken // 1.13.0 - works val faker = Faker( fakerConfig { locale = "en-US" } ) val address = faker.address assertThat(address.countryCode()).isEqualTo("US") }
expected:<"[US]"> but was:<"[AF]"> Expected :"[US]" Actual :"[AF]"
Looks like when
country_code
was removed from the address, then addresses generated withen-US
are created with random country codes instead.