summaryrefslogtreecommitdiff
path: root/platform/ios/test/MGLMapAccessibilityElementTests.m
diff options
context:
space:
mode:
Diffstat (limited to 'platform/ios/test/MGLMapAccessibilityElementTests.m')
-rw-r--r--platform/ios/test/MGLMapAccessibilityElementTests.m5
1 files changed, 5 insertions, 0 deletions
diff --git a/platform/ios/test/MGLMapAccessibilityElementTests.m b/platform/ios/test/MGLMapAccessibilityElementTests.m
index 916461e708..2312d1d406 100644
--- a/platform/ios/test/MGLMapAccessibilityElementTests.m
+++ b/platform/ios/test/MGLMapAccessibilityElementTests.m
@@ -8,6 +8,11 @@
@implementation MGLMapAccessibilityElementTests
+- (void)setUp {
+ // FIXME: https://github.com/mapbox/mapbox-gl-native/issues/14908
+ XCTAssertEqualObjects(NSLocale.currentLocale.localeIdentifier, @"en_US", @"Device locale must be en_US for these tests to pass.");
+}
+
- (void)testFeatureLabels {
MGLPointFeature *feature = [[MGLPointFeature alloc] init];
feature.attributes = @{