test+web: fix test suite and remove redundant privacy checkbox
All checks were successful
CI / test (push) Successful in 25s

This commit is contained in:
2026-03-08 12:16:21 +03:00
parent 79baadb522
commit fc7a9cc3a6
4 changed files with 7 additions and 19 deletions

View File

@@ -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