mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 06:33:55 +01:00
Merge pull request #17856 from overleaf/rh-deletion-email-update
[web] Use securityAlert template for user deletion email GitOrigin-RevId: 60dfef18946710f5d5df17daca1a0bdc9800519b
This commit is contained in:
@@ -263,10 +263,12 @@ describe('UserDeleter', function () {
|
||||
await this.UserDeleter.promises.deleteUser(this.userId, {})
|
||||
const emailOptions = {
|
||||
to: 'bob@bob.com',
|
||||
action: 'account deleted',
|
||||
actionDescribed: 'your Overleaf account was deleted',
|
||||
}
|
||||
expect(
|
||||
this.EmailHandler.promises.sendEmail
|
||||
).to.have.been.calledWith('deletedAccount', emailOptions)
|
||||
).to.have.been.calledWith('securityAlert', emailOptions)
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user