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

@ -110,7 +110,7 @@ async def test_patch_org_contact_auth_root(no_su_client: AsyncClient):
@pytest.mark.anyio
async def test_get_service_auth_root(no_su_client: AsyncClient):
resp = await no_su_client.get("/service/?org_id=2")
resp = await no_su_client.get("/service?org_id=2")
assert resp.status_code != 422
assert resp.status_code == 403
assert "Must be the org's root user" in resp.json()["detail"]