Update tests/test_health.py

This commit is contained in:
backend.im 2025-03-15 01:50:29 +00:00
parent 16c2e4feed
commit 549b80b3d4

View File

@ -1,6 +1,9 @@
app = FastAPI()
from fastapi import APIRouter, Depends, HTTPException
from core.auth import get_current_user_dummy
from core.database import fake_users_db
router = APIRouter()
@app.get("/health")
@router.get("/health")
async def read_health():
return {"status": "ok"}