Skip to content

Commit cc72e7f

Browse files
CCM-10442: Review comments
1 parent 62da2c2 commit cc72e7f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

utils/utils/src/__tests__/email-client.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ describe('EmailClient', () => {
2626
expect(sesClient.send).not.toHaveBeenCalled();
2727
expect(logger.info).toHaveBeenCalledWith({
2828
description:
29-
'Not sending template submitted email to suppliers because no email address is provided',
29+
'Not sending proof requested email to suppliers because no email address is provided',
3030
templateId: 'template-id',
3131
templateName: 'template-name',
3232
supplier: 'supplier1',
@@ -130,13 +130,13 @@ describe('EmailClient', () => {
130130
expect(sesClient.send).not.toHaveBeenCalled();
131131
expect(logger.info).toHaveBeenCalledWith({
132132
description:
133-
'Not sending template submitted email to supplier because no recipients are configured',
133+
'Not sending email to supplier because no recipients are configured',
134134
templateId: mockTemplate.id,
135135
supplier: 'supplier2',
136136
});
137137
expect(logger.info).toHaveBeenCalledWith({
138138
description:
139-
'Not sending template submitted email to supplier because no recipients are configured',
139+
'Not sending email to supplier because no recipients are configured',
140140
templateId: mockTemplate.id,
141141
supplier: 'supplier1',
142142
});

utils/utils/src/email-client.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export class EmailClient {
7575
if ((recipientEmailsForSupplier?.length ?? 0) === 0) {
7676
this.logger.info({
7777
description:
78-
'Not sending template submitted email to supplier because no recipients are configured',
78+
'Not sending email to supplier because no recipients are configured',
7979
templateId,
8080
supplier,
8181
});
@@ -115,7 +115,7 @@ export class EmailClient {
115115
if (!this.senderEmail) {
116116
this.logger.info({
117117
description:
118-
'Not sending template submitted email to suppliers because no email address is provided',
118+
'Not sending proof requested email to suppliers because no email address is provided',
119119
templateId,
120120
templateName,
121121
supplier,

0 commit comments

Comments
 (0)