From 1ce1ed7c6b3ab13c9ecf930b6df41cdf9fbbec8f Mon Sep 17 00:00:00 2001 From: SabreCat Date: Fri, 30 Jun 2017 20:47:18 +0000 Subject: [PATCH] fix(test): allow for long months --- .../libs/payments/group-plans/group-payments-create.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/api/v3/unit/libs/payments/group-plans/group-payments-create.test.js b/test/api/v3/unit/libs/payments/group-plans/group-payments-create.test.js index de79e2b525..b53a619bf2 100644 --- a/test/api/v3/unit/libs/payments/group-plans/group-payments-create.test.js +++ b/test/api/v3/unit/libs/payments/group-plans/group-payments-create.test.js @@ -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 () => {