From b2b698e2263796f205fea418e4f9e51b9d96f58c Mon Sep 17 00:00:00 2001 From: Toni Rico Date: Wed, 15 Jan 2025 16:11:48 +0100 Subject: [PATCH] Disable response verification during tests by default --- Tests/UnitTests/Mocks/MockSystemInfo.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Tests/UnitTests/Mocks/MockSystemInfo.swift b/Tests/UnitTests/Mocks/MockSystemInfo.swift index 7259b32021..a8b7f8b768 100644 --- a/Tests/UnitTests/Mocks/MockSystemInfo.swift +++ b/Tests/UnitTests/Mocks/MockSystemInfo.swift @@ -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, @@ -30,6 +31,7 @@ class MockSystemInfo: SystemInfo { self.init(platformInfo: platformInfo, finishTransactions: finishTransactions, storeKitVersion: storeKitVersion, + responseVerificationMode: responseVerificationMode, dangerousSettings: dangerousSettings, clock: clock) }