Skip to content

Commit

Permalink
Fix tests in customEntitlementComputation after merges (#1161)
Browse files Browse the repository at this point in the history
### Description
Fix tests after merges of #1142 and #1156 caused issue in main
  • Loading branch information
tonidero authored Jul 21, 2023
1 parent e2cab2a commit b0ef312
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -443,5 +443,11 @@ internal open class BasePurchasesTest {
)
}

protected fun mockOfferingsManagerFetchOfferings(userId: String = appUserId) {
every {
mockOfferingsManager.fetchAndCacheOfferings(userId, any(), any(), any())
} just Runs
}

// endregion
}
Original file line number Diff line number Diff line change
Expand Up @@ -1275,11 +1275,5 @@ internal class PurchasesTest : BasePurchasesTest() {
}
}

protected fun mockOfferingsManagerFetchOfferings(userId: String = appUserId) {
every {
mockOfferingsManager.fetchAndCacheOfferings(userId, any(), any(), any())
} just Runs
}

// endregion
}

0 comments on commit b0ef312

Please sign in to comment.