Update tests/test_health.py
This commit is contained in:
parent
16c2e4feed
commit
549b80b3d4
@ -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():
|
async def read_health():
|
||||||
return {"status": "ok"}
|
return {"status": "ok"}
|
Loading…
x
Reference in New Issue
Block a user