Merge branch 'develop' into apple_sub_fix

This commit is contained in:
SabreCat
2022-11-02 15:00:24 -05:00
72 changed files with 1640 additions and 850 deletions

View File

@@ -417,6 +417,8 @@ describe('Apple Payments', () => {
describe('does not apply multiple times', async () => {
it('errors when a user is using the same subscription', async () => {
user = new User();
await user.save();
payments.createSubscription.restore();
iap.getPurchaseData.restore();
iapGetPurchaseDataStub = sinon.stub(iap, 'getPurchaseData')