Skip to content

Commit

Permalink
fix: fastapi test base url to https
Browse files Browse the repository at this point in the history
  • Loading branch information
sijandh35 committed Feb 27, 2025
1 parent f875413 commit 983d006
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/api/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ async def app(create_test_database):
async def client(app):
logger.info("Creating test client for FastAPI app.")
async with AsyncClient(
transport=ASGITransport(app=app), base_url="http://test"
transport=ASGITransport(app=app), base_url="https://test"
) as ac:
logger.info("Test client created; yielding client for test execution.")
yield ac
Expand Down

0 comments on commit 983d006

Please sign in to comment.