diff --git a/test/features/measurements/widgets/helpers_test.dart b/test/features/measurements/widgets/helpers_test.dart index 7b7b85cca..28ead7806 100644 --- a/test/features/measurements/widgets/helpers_test.dart +++ b/test/features/measurements/widgets/helpers_test.dart @@ -277,7 +277,9 @@ void main() { // for a grid of days would collapse whole weeks into a single cell final many = [ for (var i = 0; i < 300; i++) - MeasurementChartEntry(60 + i % 7, DateTime(2026, 1, 1).add(Duration(days: i))), + // calendar days, not 24h steps: across a DST switch those would + // shift to 23:00 of the previous day and two entries share a day + MeasurementChartEntry(60 + i % 7, DateTime(2026, 1, 1 + i)), ]; final widget = buildChartForMetricType( MetricType.custom,