Fix test test_create_first_user()
This commit is contained in:
@@ -15,7 +15,7 @@ scanner = BackgroundScanner(db=get_db_session())
|
||||
async def lifespan(app: FastAPI):
|
||||
load_dotenv()
|
||||
create_db_and_tables()
|
||||
create_first_user()
|
||||
create_first_user(db=get_db_session())
|
||||
print("Database created and tables initialized.")
|
||||
scanner.start()
|
||||
yield
|
||||
|
||||
Reference in New Issue
Block a user