✅(demo) change email from user to user.test in demo
When we create a new user in the demo environment, the email address will now follow the format user.test@example.com instead of user@example.com. "user" was only 4 characters long, it created failing tests in the e2e suite.
This commit is contained in:
committed by
Manuel Raynaud
parent
20161fd6db
commit
8c1e95c587
@@ -119,8 +119,8 @@ def create_demo(stdout):
|
||||
first_name = random.choice(first_names)
|
||||
queue.push(
|
||||
models.User(
|
||||
admin_email=f"user{i:d}@example.com",
|
||||
email=f"user{i:d}@example.com",
|
||||
admin_email=f"user.test{i:d}@example.com",
|
||||
email=f"user.test{i:d}@example.com",
|
||||
password="!",
|
||||
is_superuser=False,
|
||||
is_active=True,
|
||||
|
||||
Reference in New Issue
Block a user