test+web: fix test suite and remove redundant privacy checkbox
All checks were successful
CI / test (push) Successful in 25s
All checks were successful
CI / test (push) Successful in 25s
This commit is contained in:
@@ -7,7 +7,7 @@ from app.chats.models import ChatType
|
||||
async def _create_verified_user(client, db_session, email: str, username: str, password: str) -> dict:
|
||||
await client.post(
|
||||
"/api/v1/auth/register",
|
||||
json={"email": email, "username": username, "password": password},
|
||||
json={"email": email, "name": username, "username": username, "password": password},
|
||||
)
|
||||
token_row = await db_session.execute(select(EmailVerificationToken).order_by(EmailVerificationToken.id.desc()))
|
||||
verify_token = token_row.scalar_one().token
|
||||
|
||||
Reference in New Issue
Block a user