From 5532ac941f2c577fa9057426b3b6d451ffbe3438 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Fri, 21 Feb 2020 14:19:16 +0000 Subject: fixed mobile in factory --- ctrack/organisations/tests/factories.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ctrack/organisations') 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) -- cgit v1.2.3