diff --git a/test/api/unit/libs/payments/google.test.js b/test/api/unit/libs/payments/google.test.js index 33aabc8cfa..d912769f24 100644 --- a/test/api/unit/libs/payments/google.test.js +++ b/test/api/unit/libs/payments/google.test.js @@ -256,7 +256,7 @@ describe('Google Payments', () => { expirationDate, }); iapGetPurchaseDataStub = sinon.stub(iap, 'getPurchaseData') - .returns([{ expirationDate: expirationDate.toDate(), autoRenewig: false }]); + .returns([{ expirationDate: expirationDate.toDate(), autoRenewing: false }]); iapIsValidatedStub = sinon.stub(iap, 'isValidated') .returns(true); @@ -328,7 +328,7 @@ describe('Google Payments', () => { it('should not cancel a user subscription with autorenew', async () => { iapGetPurchaseDataStub = sinon.stub(iap, 'getPurchaseData') - .returns([{ autoRenewig: true }]); + .returns([{ autoRenewing: true }]); await googlePayments.cancelSubscribe(user, headers); expect(iapSetupStub).to.be.calledOnce;