diff --git a/VWOTests/Segmentation/LocationTests.swift b/VWOTests/Segmentation/LocationTests.swift index 062dd886..e3f0b0e4 100644 --- a/VWOTests/Segmentation/LocationTests.swift +++ b/VWOTests/Segmentation/LocationTests.swift @@ -9,7 +9,7 @@ import XCTest extension Locale { static func from(countryCode: String) -> Locale { - let id = Locale.identifier(fromComponents: [NSLocale.Key.countryCode._rawValue as String : countryCode]) + let id = Locale.identifier(fromComponents: [NSLocale.Key.countryCode.rawValue as String : countryCode]) return Locale(identifier: id) } }