Added extra months to account for months with larger amount of days (#9379)

This commit is contained in:
Keith Holliday 2017-11-02 15:44:24 -06:00 committed by GitHub
parent 3b6fce0708
commit b973335d69
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 () => {