Stabilize unit and UI tests for SportsTime
This commit is contained in:
@@ -51,7 +51,7 @@ struct AnySportTests {
|
||||
|
||||
// MARK: - Test Data
|
||||
|
||||
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