[PM-34592] chore: Update iOS version for tests to 26.2 (#2517)

This commit is contained in:
Matt Czech
2026-04-03 09:00:13 -05:00
committed by GitHub
parent c3b4c9a2df
commit 3dfd2c8dbf
2 changed files with 3 additions and 3 deletions

View File

@@ -1 +1 @@
26.0.1
26.2

View File

@@ -7,11 +7,11 @@ open class BaseBitwardenTestCase: XCTestCase {
@MainActor
override open class func setUp() {
let shouldSkipSimulatorCheck = ProcessInfo.processInfo.environment["SKIP_SIMULATOR_CHECK_FOR_TESTS"] == "true"
let isCorrectSimulator = UIDevice.current.name == "iPhone 17 Pro" || UIDevice.current.systemVersion == "26.0"
let isCorrectSimulator = UIDevice.current.name == "iPhone 17 Pro" || UIDevice.current.systemVersion == "26.2"
if !shouldSkipSimulatorCheck, !isCorrectSimulator {
assertionFailure(
"""
Tests must be run using iOS 26.0 on an iPhone 17 Pro simulator.
Tests must be run using iOS 26.2 on an iPhone 17 Pro simulator.
Snapshot tests depend on using the correct device.
""",
)