Skip to content

Commit

Permalink
Use agent instead of request(app) #57
Browse files Browse the repository at this point in the history
  • Loading branch information
vlad-ignatov committed Jul 26, 2021
1 parent 92fec07 commit 6d8ef4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/fhir-servers.js
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 6d8ef4d

Please sign in to comment.