Skip to content

Commit b487497

Browse files
Re-introduced / to the app integration test localstackUrl
1 parent 6070617 commit b487497

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

services/ehr-repo/src/__tests__/app.integration.test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ describe('app', () => {
6969
.set('Authorization', authorizationKeys);
7070
expect(response.text).toContain(
7171
// UUIDs are going to return as lower case as they're part of a URL
72-
`${config.localstackUrl}${
72+
`${config.localstackUrl}/${
7373
config.awsS3BucketName
7474
}/${conversationId.toLowerCase()}/${messageId.toLowerCase()}`
7575
);
@@ -133,7 +133,7 @@ describe('app', () => {
133133
expect(response.status).toBe(200);
134134
expect(response.text).toContain(
135135
// UUIDs are going to return as lower case as they're part of a URL
136-
`${config.localstackUrl}${
136+
`${config.localstackUrl}/${
137137
config.awsS3BucketName
138138
}/${conversationId.toLowerCase()}/${fragmentMessageId.toLowerCase()}`
139139
);
@@ -328,7 +328,7 @@ describe('app', () => {
328328
expect(patientRes.status).toEqual(200);
329329
expect(patientRes.body.coreMessageUrl).toContain(
330330
// UUIDs are going to return as lower case as they're part of a URL
331-
`${config.localstackUrl}${
331+
`${config.localstackUrl}/${
332332
config.awsS3BucketName
333333
}/${inboundConversationId.toLowerCase()}/${coreMessageId.toLowerCase()}`
334334
);

0 commit comments

Comments
 (0)