diff --git a/backend/app/tests/crud/test_user.py b/backend/app/tests/crud/test_user.py index e9eb4a0391..6551af8d5b 100644 --- a/backend/app/tests/crud/test_user.py +++ b/backend/app/tests/crud/test_user.py @@ -44,9 +44,9 @@ def test_check_if_user_is_active(db: Session) -> None: def test_check_if_user_is_active_inactive(db: Session) -> None: email = random_email() password = random_lower_string() - user_in = UserCreate(email=email, password=password, disabled=True) + user_in = UserCreate(email=email, password=password, is_active=False) user = crud.create_user(session=db, user_create=user_in) - assert user.is_active + assert user.is_active is False def test_check_if_user_is_superuser(db: Session) -> None: