fix(user): remove email from accounts
All checks were successful
State Corp Backend CI/CD / Quality gate (push) Successful in 2m45s
State Corp Backend CI/CD / Build linux/amd64 images once (push) Successful in 4m32s
State Corp Backend CI/CD / Release dev (push) Has been skipped
State Corp Backend CI/CD / Refresh and release internal main (push) Has been skipped
State Corp Backend CI/CD / Release customer main (push) Has been skipped

This commit is contained in:
Aleksandr Meshchryakov
2026-10-01 10:20:01 +02:00
parent 7484b3c2b6
commit 2bfbb133bc
24 changed files with 248 additions and 307 deletions

View File

@@ -14,7 +14,6 @@ class UserFactory(factory.django.DjangoModelFactory):
model = User
skip_postgeneration_save = True
email = factory.LazyAttribute(lambda _: fake.unique.email())
username = factory.LazyAttribute(lambda _: fake.unique.user_name())
phone = factory.LazyAttribute(lambda _: f"+7{fake.numerify('##########')}")
is_verified = False