mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-05-20 12:48:52 +00:00
fix(test): allow for long months
This commit is contained in:
parent
33a39d3683
commit
1ce1ed7c6b
1 changed files with 1 additions and 1 deletions
|
|
@ -596,7 +596,7 @@ describe('Purchasing a group plan for group', () => {
|
|||
|
||||
let updatedUser = await User.findById(recipient._id).exec();
|
||||
|
||||
expect(updatedUser.purchased.plan.extraMonths).to.within(7, 8);
|
||||
expect(updatedUser.purchased.plan.extraMonths).to.within(7, 9);
|
||||
});
|
||||
|
||||
it('adds months to members with existing recurring subscription and ignores existing negative extraMonths', async () => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue