from backend.modules.database.models import User

def test_user_model_fields():
    user = User(username="testuser", password_hash="hash")
    assert user.username == "testuser"
    assert user.is_active is True
    assert user.is_admin is False 