From aa7a065572cdf017fe844f3a9c83292adacd5524 Mon Sep 17 00:00:00 2001 From: otsmr Date: Mon, 6 Apr 2026 15:42:41 +0200 Subject: [PATCH] fix test --- test/features/flame_counter_test.dart | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/test/features/flame_counter_test.dart b/test/features/flame_counter_test.dart index d5c43d8..574f863 100644 --- a/test/features/flame_counter_test.dart +++ b/test/features/flame_counter_test.dart @@ -126,6 +126,20 @@ void main() { ); await withClock( Clock.fixed(DateTime(2026, 3, 25, 19)), + () async { + final group2 = (await twonlyDB.groupsDao.getGroup(group.groupId))!; + expect(isItPossibleToRestoreFlames(group2), true); + }, + ); + await withClock( + Clock.fixed(DateTime(2026, 3, 26, 19)), + () async { + final group2 = (await twonlyDB.groupsDao.getGroup(group.groupId))!; + expect(isItPossibleToRestoreFlames(group2), true); + }, + ); + await withClock( + Clock.fixed(DateTime(2026, 3, 27, 19)), () async { final group2 = (await twonlyDB.groupsDao.getGroup(group.groupId))!; expect(isItPossibleToRestoreFlames(group2), false);