mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-12 15:05:30 +00:00
fix(test): expect two PMs during sub promo
This commit is contained in:
parent
9fe28c6d51
commit
ae26cc3244
1 changed files with 1 additions and 1 deletions
|
|
@ -211,7 +211,7 @@ describe('payments/index', () => {
|
|||
await api.createSubscription(data);
|
||||
const msg = '`Hello recipient, sender has sent you 3 months of subscription!`';
|
||||
|
||||
expect(user.sendMessage).to.be.calledOnce;
|
||||
expect(user.sendMessage).to.be.calledTwice;
|
||||
expect(user.sendMessage).to.be.calledWith(
|
||||
recipient,
|
||||
{ receiverMsg: msg, senderMsg: msg, save: false },
|
||||
|
|
|
|||
Loading…
Reference in a new issue