fix tests

This commit is contained in:
Dries Peeters
2025-11-01 08:44:02 +01:00
parent 7a28f0665b
commit a110b94a08
6 changed files with 283 additions and 221 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ from app.models import BudgetAlert, Project, User, Client
@pytest.fixture
def client_obj(app):
"""Create a test client"""
client = Client(name="Test Client", status="active")
client = Client(name="Test Client")
db.session.add(client)
db.session.commit()
return client