diff options
author | Matthew Lemon <lemon@matthewlemon.com> | 2020-02-21 14:19:16 +0000 |
---|---|---|
committer | Matthew Lemon <lemon@matthewlemon.com> | 2020-02-21 14:19:16 +0000 |
commit | 5532ac941f2c577fa9057426b3b6d451ffbe3438 (patch) | |
tree | 6a6a9b8a05411483528e2166f788ce20ca014311 /ctrack | |
parent | f38b87e9862814883bf8a3ad6b36d989d3097f86 (diff) |
fixed mobile in factory
Diffstat (limited to 'ctrack')
-rw-r--r-- | ctrack/organisations/tests/factories.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ctrack/organisations/tests/factories.py b/ctrack/organisations/tests/factories.py index d2e4730..1a7b36d 100644 --- a/ctrack/organisations/tests/factories.py +++ b/ctrack/organisations/tests/factories.py @@ -92,7 +92,7 @@ class PersonFactory(DjangoModelFactory): organisation = SubFactory("ctrack.organisations.tests.factories.OrganisationFactory") email = factory.LazyAttribute(lambda o: '%s@%s.com' % (o.first_name.lower(), o.organisation.slug)) secondary_email = Faker("ascii_company_email") - mobile = Faker("msisdn", locale="en_GB") + mobile = Faker("cellphone_number", locale="en_GB") landline = Faker("phone_number", locale="en_GB") date_updated = factory.LazyFunction(datetime.now) updated_by = SubFactory(UserFactory) |