Skip to content

Commit

Permalink
Removed syncPurchases
Browse files Browse the repository at this point in the history
  • Loading branch information
NachoSoto committed Sep 28, 2022
1 parent 0988eb4 commit 274097e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Tests/BackendIntegrationTests/StoreKitIntegrationTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -259,10 +259,7 @@ class StoreKit1IntegrationTests: BaseBackendIntegrationTests {
let entitlement = try XCTUnwrap(customerInfo.entitlements[Self.entitlementIdentifier])
try await self.expireSubscription(entitlement)

// 3. Sync purchases
_ = try await Purchases.shared.syncPurchases()

// 4. Check eligibility
// 3. Check eligibility
let eligibility = await Purchases.shared.checkTrialOrIntroDiscountEligibility(product: product)
expect(eligibility) == .ineligible
}
Expand Down

0 comments on commit 274097e

Please sign in to comment.