Skip to content

Commit

Permalink
Set a value minimum that 10 to avoid error in acceptance test #187
Browse files Browse the repository at this point in the history
  • Loading branch information
mapeveri committed Feb 20, 2025
1 parent 8beb737 commit 37911b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/languages/domain/country/countryMother.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default class CountryMother {
return new Country(
id ?? CountryIdMother.random(),
name ?? faker.name.findName(),
iso ?? faker.random.word(),
iso ?? faker.random.word().slice(0, 2),
LanguageCollectionMother.random(
languages?.map((language) => language.toPrimitives()) ?? [LanguageMother.random().toPrimitives()],
),
Expand Down

0 comments on commit 37911b7

Please sign in to comment.