fix(g1g1): correct blank private message

This commit is contained in:
Sabe Jones
2020-12-15 15:54:29 -06:00
parent b3cfb57933
commit 395e1c25d4
5 changed files with 28 additions and 15 deletions

View File

@@ -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 });
});
});
});