mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-04-18 14:42:54 +00:00
fix test
Some checks failed
Flutter analyze & test / flutter_analyze_and_test (push) Has been cancelled
Some checks failed
Flutter analyze & test / flutter_analyze_and_test (push) Has been cancelled
This commit is contained in:
parent
083faaa876
commit
aa7a065572
1 changed files with 14 additions and 0 deletions
|
|
@ -126,6 +126,20 @@ void main() {
|
||||||
);
|
);
|
||||||
await withClock(
|
await withClock(
|
||||||
Clock.fixed(DateTime(2026, 3, 25, 19)),
|
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 {
|
() async {
|
||||||
final group2 = (await twonlyDB.groupsDao.getGroup(group.groupId))!;
|
final group2 = (await twonlyDB.groupsDao.getGroup(group.groupId))!;
|
||||||
expect(isItPossibleToRestoreFlames(group2), false);
|
expect(isItPossibleToRestoreFlames(group2), false);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue