mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-05-20 04:38:55 +00:00
fix(test): expect save false
This commit is contained in:
parent
f2b53f651e
commit
7c081c4607
1 changed files with 1 additions and 1 deletions
|
|
@ -344,7 +344,7 @@ describe('payments/index', () => {
|
|||
const msg = '`Hello sender, you received 3 months of subscription as part of our holiday gift-giving promotion!`';
|
||||
|
||||
expect(user.sendMessage).to.be.calledTwice;
|
||||
expect(user.sendMessage).to.be.calledWith(user, { senderMsg: msg });
|
||||
expect(user.sendMessage).to.be.calledWith(user, { senderMsg: msg, save: false });
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue