fix tests

This commit is contained in:
Phillip Thelen
2022-11-10 13:48:58 +01:00
committed by Phillip Thelen
parent 64a3515c10
commit 614850e56c
2 changed files with 6 additions and 7 deletions

View File

@@ -290,7 +290,7 @@ describe('Apple Payments', () => {
iap.getPurchaseData.restore();
iapGetPurchaseDataStub = sinon.stub(iap, 'getPurchaseData')
.returns([{
expirationDate: moment.utc().add({ day: 1 }).toDate(),
expirationDate: moment.utc().add({ day: 2 }).toDate(),
purchaseDate: new Date(),
productId: option.sku,
transactionId: token,