Skip to content

Commit

Permalink
Replaced with delegate
Browse files Browse the repository at this point in the history
  • Loading branch information
NachoSoto committed Jun 6, 2023
1 parent 19e3f5a commit 6274c39
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ class StoreKit2ObserverModeIntegrationTests: StoreKit1ObserverModeIntegrationTes

try await asyncWait(
until: {
let entitlement = try? await Purchases.shared
.customerInfo(fetchPolicy: .fetchCurrent)
let entitlement = await self.purchasesDelegate
.customerInfo?
.entitlements[Self.entitlementIdentifier]

return entitlement?.isActive == true
Expand Down

0 comments on commit 6274c39

Please sign in to comment.