Skip to content

Commit b62731d

Browse files
committed
test: stabilize month calendar date selection
1 parent 99c6e5e commit b62731d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

test/presentation/home/components/month_calendar_test.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ void main() {
1515
tester,
1616
) async {
1717
DateTime? selected;
18-
final targetDate = DateTime.now().add(const Duration(days: 2));
18+
final now = DateTime.now();
19+
final targetDate = DateTime(now.year, now.month, 15);
1920

2021
await tester.pumpWidget(
2122
_TestApp(

0 commit comments

Comments
 (0)