From cba6082c53a176b6439992994314e30db95a3e5d Mon Sep 17 00:00:00 2001 From: spwoodcock Date: Fri, 25 Oct 2024 20:55:08 +0100 Subject: [PATCH] test: fix conftest, set server url to FMTM_DOMAIN for ci --- src/backend/tests/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/tests/conftest.py b/src/backend/tests/conftest.py index 06414c822..0a000aa69 100644 --- a/src/backend/tests/conftest.py +++ b/src/backend/tests/conftest.py @@ -333,7 +333,7 @@ async def client(app, db): async with AsyncClient( transport=ASGITransport(app=app), - base_url="http://testserver", + base_url=f"http://{settings.FMTM_DOMAIN}", follow_redirects=True, ) as ac: yield ac