Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
mjhea0 committed Jan 23, 2024
1 parent e2dff22 commit 0fc258d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion project/app/api/ping.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
@router.get("/ping")
async def pong(settings: Settings = Depends(get_settings)):
return {
"ping": "pong",
"ping": "pong!!",
"environment": settings.environment,
"testing": settings.testing,
}
2 changes: 1 addition & 1 deletion project/tests/test_ping.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
def test_ping(test_app):
response = test_app.get("/ping")
assert response.status_code == 200
assert response.json() == {"environment": "dev", "ping": "pong", "testing": True}
assert response.json() == {"environment": "dev", "ping": "pong!!", "testing": True}

0 comments on commit 0fc258d

Please sign in to comment.