mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-14 13:17:24 +01:00
fix(g1g1): correct blank private message
This commit is contained in:
@@ -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, save: false });
|
||||
expect(user.sendMessage).to.be.calledWith(user, { receiverMsg: msg, save: false });
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user