mirror of
https://github.com/bitwarden/ios.git
synced 2026-04-20 06:00:55 -05:00
[PM-34592] chore: Update iOS version for tests to 26.2 (#2517)
This commit is contained in:
@@ -1 +1 @@
|
||||
26.0.1
|
||||
26.2
|
||||
|
||||
@@ -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.
|
||||
""",
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user