Skip to content

Commit 8b019d2

Browse files
CCM-9247: Fix mock SFTP path in e2e tests
1 parent e791754 commit 8b019d2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test-team/template-mgmt-e2e-tests/template-mgmt-proofing.e2e.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,15 @@ test.describe('Letter Proofing', () => {
4545

4646
await sftpHelper.put(
4747
pdfContent,
48-
`WTMMOCK/Outgoing/proofs/${templateId}/proof-1.pdf`
48+
`WTMMOCK/Outgoing/${process.env.SFTP_ENVIRONMENT}/proofs/${templateId}/proof-1.pdf`
4949
);
5050
await sftpHelper.put(
5151
pdfContent,
52-
`WTMMOCK/Outgoing/proofs/${templateId}/proof-2.pdf`
52+
`WTMMOCK/Outgoing/${process.env.SFTP_ENVIRONMENT}/proofs/${templateId}/proof-2.pdf`
5353
);
5454
await sftpHelper.put(
5555
pdfContent,
56-
`WTMMOCK/Outgoing/proofs/${templateId}/proof-3.pdf`
56+
`WTMMOCK/Outgoing/${process.env.SFTP_ENVIRONMENT}/proofs/${templateId}/proof-3.pdf`
5757
);
5858

5959
// invoke SFTP poll lambda

0 commit comments

Comments
 (0)