From 1905353d4947a0273f71439c82389dcf05deb9d3 Mon Sep 17 00:00:00 2001 From: AhsanSarwar45 Date: Thu, 18 Apr 2024 18:09:26 +0500 Subject: [PATCH] Remove finish alarm test --- .../logic/schedule_description_test.dart | 21 ++++++++++--------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/test/alarm/logic/schedule_description_test.dart b/test/alarm/logic/schedule_description_test.dart index d6985b4b..5b44a6bf 100644 --- a/test/alarm/logic/schedule_description_test.dart +++ b/test/alarm/logic/schedule_description_test.dart @@ -35,16 +35,17 @@ void main() async { ); }); - testDescription('when alarm is finished', (context) async { - final alarm = Alarm(const Time(hour: 8, minute: 30)); - - await alarm.finish(); - - final result = getAlarmScheduleDescription( - context, alarm, 'yyyy-MM-dd HH:mm:ss.SSS', TimeFormat.h12); - - expect(result, 'No future dates'); - }); + // testDescription('when alarm is finished', (context) async { + // final alarm = Alarm(const Time(hour: 8, minute: 30)); + // // alarm.setSettingWithoutNotify("Type", 3); + // + // // await alarm.finish(); + // + // final result = getAlarmScheduleDescription( + // context, alarm, 'yyyy-MM-dd HH:mm:ss.SSS', TimeFormat.h12); + // + // expect(result, 'No future dates'); + // }); testDescription('when alarm is not enabled', (context) async { final alarm = Alarm(const Time(hour: 8, minute: 30));