mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-14 05:07:22 +01:00
fix tests
This commit is contained in:
committed by
Phillip Thelen
parent
64a3515c10
commit
614850e56c
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user