Skip to content

Commit

Permalink
removing OS as well
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Guretzki committed Feb 3, 2025
1 parent 087a963 commit 69e1838
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Tests/SnapshotTests/Helpers/XCTestCase+SnapshotTesting.swift
Original file line number Diff line number Diff line change
Expand Up @@ -90,15 +90,13 @@ extension XCTestCase {

func testName(for callingFunction: String) -> String {
let simulatorName = ProcessInfo.processInfo.environment["SIMULATOR_MODEL_IDENTIFIER"] ?? "Unknown_Simulator"
let systemName = UIDevice.current.systemName
let versionName = UIDevice.current.systemVersion
let operatingSystem = "\(UIDevice.current.systemName)_\(UIDevice.current.systemVersion)"
let locale = Locale.current.identifier

return [
callingFunction,
simulatorName,
systemName,
// versionName,
//operatingSystem,
locale
].joined(separator: "-")
}
Expand Down

0 comments on commit 69e1838

Please sign in to comment.