Skip to content
This repository was archived by the owner on Sep 15, 2025. It is now read-only.

Commit caa52b9

Browse files
committed
Update StatsAnnualAndMostPopularTimeInsightDecodingTests to reflect more permissive decoding stratregy
1 parent 2cc6127 commit caa52b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

WordPressKitTests/StatsAnnualAndMostPopularTimeInsightDecodingTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ final class StatsAnnualAndMostPopularTimeInsightDecodingTests: XCTestCase {
3333
let insight = StatsAnnualAndMostPopularTimeInsight(jsonDictionary: json as [String: AnyObject])
3434

3535
// Then
36-
XCTAssertNil(insight)
36+
XCTAssertNotNil(insight)
3737
}
3838

3939
func testDecodingDecimalPercentagesRoundsSuccessful() {

0 commit comments

Comments
 (0)