fix: remove trailing slash and plurals in paths

This commit is contained in:
Chris Milne 2026-06-11 16:14:22 +01:00
parent c74e895bf1
commit 1a6a6ad97d
9 changed files with 20 additions and 20 deletions

View file

@ -138,7 +138,7 @@ async def test_patch_org_contact_auth_approval(default_client: AsyncClient):
@pytest.mark.anyio
async def test_get_service_auth_approval(default_client: AsyncClient):
resp = await default_client.get("/service/?org_id=1")
resp = await default_client.get("/service?org_id=1")
assert resp.status_code != 422
assert "has not been approved." in resp.json()["detail"]