Skip to content

Commit

Permalink
fix: fake user generate attribute cardinality
Browse files Browse the repository at this point in the history
  • Loading branch information
azmeuk committed Nov 21, 2023
1 parent 4616725 commit f2e5eb3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions canaille/core/populate.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ def fake_users(nb=1):
given_name=name.split(" ")[0],
family_name=name.split(" ")[1],
user_name=fake.unique.user_name(),
emails=fake.unique.email(),
phone_numbers=fake.unique.ssn(),
emails=[fake.unique.email()],
phone_numbers=[fake.unique.ssn()],
profile_url=fake.unique.uri(),
address=fake.unique.address(),
formatted_address=fake.unique.address(),
street=fake.street_name(),
postal_code=fake.postcode(),
locality=fake.city(),
Expand Down

0 comments on commit f2e5eb3

Please sign in to comment.