Stabilize unit and UI tests for SportsTime
This commit is contained in:
@@ -35,7 +35,7 @@ struct DynamicSportTests {
|
||||
)
|
||||
}
|
||||
|
||||
private var calendar: Calendar { Calendar.current }
|
||||
private var calendar: Calendar { TestClock.calendar }
|
||||
|
||||
private func date(month: Int) -> Date {
|
||||
calendar.date(from: DateComponents(year: 2026, month: month, day: 15))!
|
||||
|
||||
Reference in New Issue
Block a user