diff --git a/test/fhir-servers.js b/test/fhir-servers.js index 22eef095..9a6a9b3e 100644 --- a/test/fhir-servers.js +++ b/test/fhir-servers.js @@ -286,7 +286,7 @@ for(const FHIR_VERSION in TESTED_FHIR_SERVERS) { const nextURL = new URL(next.url) - const res2 = await request(app).get(nextURL.pathname + nextURL.search) + const res2 = await agent.get(nextURL.pathname + nextURL.search) if (!Array.isArray(res2.body.link)) { throw new Error("No links found on second page");