Skip to content

Commit d9a9b9b

Browse files
committed
Fix unit test
1 parent 5814e17 commit d9a9b9b

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

test/unit_test/admin/leaves/leave_screen/admin_leaves_test.dart

+7-7
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ void main() {
154154
], members: [
155155
joi,
156156
andrew
157-
]).groupByMonth((la) => la.leave.appliedOn)),
157+
]).groupByMonth((la) => la.leave.startDate)),
158158
]));
159159
});
160160

@@ -197,7 +197,7 @@ void main() {
197197
], members: [
198198
joi,
199199
andrew
200-
]).groupByMonth((la) => la.leave.appliedOn)),
200+
]).groupByMonth((la) => la.leave.startDate)),
201201
AdminLeavesState(
202202
members: [joi],
203203
selectedMember: joi,
@@ -210,7 +210,7 @@ void main() {
210210
], members: [
211211
joi,
212212
andrew
213-
]).groupByMonth((la) => la.leave.appliedOn))
213+
]).groupByMonth((la) => la.leave.startDate))
214214
]));
215215
});
216216
});
@@ -298,7 +298,7 @@ void main() {
298298
], members: [
299299
joi,
300300
andrew
301-
]).groupByMonth((la) => la.leave.appliedOn)),
301+
]).groupByMonth((la) => la.leave.startDate)),
302302
]));
303303
});
304304

@@ -322,7 +322,7 @@ void main() {
322322
], members: [
323323
joi,
324324
andrew
325-
]).groupByMonth((la) => la.leave.appliedOn)),
325+
]).groupByMonth((la) => la.leave.startDate)),
326326
AdminLeavesState(
327327
fetchMoreData: Status.success,
328328
members: [joi, andrew],
@@ -336,7 +336,7 @@ void main() {
336336
], members: [
337337
joi,
338338
andrew
339-
]).groupByMonth((la) => la.leave.appliedOn)),
339+
]).groupByMonth((la) => la.leave.startDate)),
340340
]));
341341
});
342342

@@ -359,7 +359,7 @@ void main() {
359359
], members: [
360360
joi,
361361
andrew
362-
]).groupByMonth((la) => la.leave.appliedOn))));
362+
]).groupByMonth((la) => la.leave.startDate))));
363363
});
364364
});
365365
});

0 commit comments

Comments
 (0)