From 3e86fe223e15e8ae6e684216f04e0bf7b921518a Mon Sep 17 00:00:00 2001 From: ahtlon Date: Mon, 18 May 2026 21:04:17 +0200 Subject: [PATCH] Explain problem; will fix later maybe --- test/test_services/test_auth.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/test_services/test_auth.py b/test/test_services/test_auth.py index c2acfc8..a890459 100644 --- a/test/test_services/test_auth.py +++ b/test/test_services/test_auth.py @@ -131,7 +131,9 @@ def test_auth_is_admin(db_session, admin_user, regular_user): def test_create_first_user(db_session): """Test automatic creation of first admin user.""" + #Currently broken because this uses the prod db because of how i wrote the create_first_user function # Clear any existing users + from sqlmodel import select db_session.exec(select(UserDB)).all() for user in db_session.exec(select(UserDB)).all(): db_session.delete(user)