From 7080715bcc8cd8c42ae89a5926abb6edab223c9b Mon Sep 17 00:00:00 2001 From: SabreCat Date: Tue, 22 Feb 2022 10:13:32 -0600 Subject: [PATCH] fix(tests): renewig typos --- test/api/unit/libs/payments/google.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;