Skip to content

Commit

Permalink
Disable response verification during tests by default
Browse files Browse the repository at this point in the history
  • Loading branch information
tonidero committed Jan 15, 2025
1 parent 4b0a080 commit b2b698e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Tests/UnitTests/Mocks/MockSystemInfo.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ class MockSystemInfo: SystemInfo {
finishTransactions: Bool,
customEntitlementsComputation: Bool = false,
storeKitVersion: StoreKitVersion = .default,
responseVerificationMode: Signing.ResponseVerificationMode = .disabled,
clock: ClockType = TestClock()) {
let dangerousSettings = DangerousSettings(
autoSyncPurchases: true,
Expand All @@ -30,6 +31,7 @@ class MockSystemInfo: SystemInfo {
self.init(platformInfo: platformInfo,
finishTransactions: finishTransactions,
storeKitVersion: storeKitVersion,
responseVerificationMode: responseVerificationMode,
dangerousSettings: dangerousSettings,
clock: clock)
}
Expand Down

0 comments on commit b2b698e

Please sign in to comment.