Skip to content

Commit

Permalink
Disable test
Browse files Browse the repository at this point in the history
  • Loading branch information
NachoSoto committed Feb 5, 2024
1 parent d15eb9b commit 1d01985
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Tests/UnitTests/Paywalls/PaywallDataTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,11 @@ class PaywallDataTests: BaseHTTPResponseTest {
expect(enConfig.title) == "Paywall"
}

func testLocalesOrderedByPriority() {
func testLocalesOrderedByPriority() throws {
// Pre iOS-15 `Locale.preferredLanguages` returns something different
// but it doesn't matter because `RevenueCatUI` isn't available anyway.
try AvailabilityChecks.iOS15APIAvailableOrSkipTest()

expect(PaywallData.localesOrderedByPriority.map(\.identifier)) == [
"en_US",
"en-US",
Expand Down

0 comments on commit 1d01985

Please sign in to comment.