mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-07-18 20:04:38 +00:00
Added extra months to account for months with larger amount of days (#9379)
This commit is contained in:
parent
3b6fce0708
commit
b973335d69
1 changed files with 1 additions and 1 deletions
|
|
@ -475,7 +475,7 @@ describe('Purchasing a group plan for group', () => {
|
|||
|
||||
let updatedUser = await User.findById(recipient._id).exec();
|
||||
|
||||
expect(updatedUser.purchased.plan.extraMonths).to.within(3, 4);
|
||||
expect(updatedUser.purchased.plan.extraMonths).to.within(3, 5);
|
||||
});
|
||||
|
||||
it('adds months to members with existing recurring subscription (Paypal)', async () => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue