mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-24 03:14:03 +03:00
parent
2bc79cd94f
commit
891f19a563
@ -66,11 +66,11 @@ function testCommonPaidSubCancelMailData({mailStub, getEmailAlertUsersStub}) {
|
||||
testCommonMailData({mailStub, getEmailAlertUsersStub});
|
||||
getEmailAlertUsersStub.calledWith('paid-canceled').should.be.true();
|
||||
mailStub.calledWith(
|
||||
sinon.match({subject: '⚠️ Cancellation: Ghost'})
|
||||
sinon.match({subject: '⚠️ Cancelation: Ghost'})
|
||||
).should.be.true();
|
||||
|
||||
mailStub.calledWith(
|
||||
sinon.match.has('html', sinon.match('⚠️ Cancellation: Ghost'))
|
||||
sinon.match.has('html', sinon.match('⚠️ Cancelation: Ghost'))
|
||||
).should.be.true();
|
||||
mailStub.calledWith(
|
||||
sinon.match.has('html', sinon.match('Test Tier'))
|
||||
|
Loading…
Reference in New Issue
Block a user