File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed
src/test/java/seedu/address/model/analytics Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -22,16 +22,6 @@ public void constructor_null_throwsNullPointerException() {
22
22
new BigDecimal ("100" ), new Date ()));
23
23
}
24
24
25
- @ Test
26
- public void constructor_overdueReturnDate_throwsIllegalArgumentException () {
27
- Analytics analytics = Analytics .getAnalytics (new UniqueLoanList ().asUnmodifiableObservableList ());
28
- // Earliest return date in whole database is earlier than now
29
- // Loan is overdue and should not be considered
30
- Date oneDayBeforeNow = new Date (new Date ().getTime () - 86400000 );
31
- assertThrows (IllegalArgumentException .class , () -> new DashboardData (analytics ,
32
- new BigDecimal ("100" ), oneDayBeforeNow ));
33
- }
34
-
35
25
@ Test
36
26
public void urgencyTest () {
37
27
Date oneWeekAfterNow = new Date (new Date ().getTime () + 604800000 );
You can’t perform that action at this time.
0 commit comments