-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: changed variable name, merged main into branch
- Loading branch information
Vieltojarvi
committed
Aug 19, 2024
1 parent
f77a5f2
commit d82c4c4
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -548,7 +548,7 @@ void describe('Auth construct', () => { | |
void it('configures Cognito to send emails with SES when senders field is populated', () => { | ||
const app = new App(); | ||
const stack = new Stack(app); | ||
const expectedEmail = 'Example.com <[email protected]>'; | ||
const expectedNameAndEmail = 'Example.com <[email protected]>'; | ||
const expectedReply = '[email protected]'; | ||
const sesEmailSettings = { | ||
fromEmail: '[email protected]', | ||
|
@@ -567,7 +567,7 @@ void describe('Auth construct', () => { | |
const template = Template.fromStack(stack); | ||
template.allResourcesProperties('AWS::Cognito::UserPool', { | ||
EmailConfiguration: { | ||
From: expectedEmail, | ||
From: expectedNameAndEmail, | ||
ReplyToEmailAddress: expectedReply, | ||
}, | ||
}); | ||
|