Skip to content

Commit 2235a11

Browse files
committed
test: update tests for integer ids
1 parent 8ca3ba4 commit 2235a11

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

tests/test_user_seed.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import asyncio
2-
from uuid import uuid4
32

43
from src.core.seed.user import SeedUserConfig, seed_user
54
from src.modules.authorization.domain.permissions import (
@@ -119,7 +118,7 @@ def test_seed_user_does_not_modify_an_existing_user(monkeypatch):
119118
lambda password: f"hashed:{password}",
120119
)
121120
existing_user = User(
122-
id=uuid4(),
121+
id=1,
123122
email="admin@example.com",
124123
password_hash="existing-hash",
125124
username="existing-admin",

0 commit comments

Comments
 (0)