FINERACT-2181: Check whether loan got closed after the test
This commit is contained in:
+4
-2
@@ -18,6 +18,8 @@
|
|||||||
*/
|
*/
|
||||||
package org.apache.fineract.integrationtests.common.loans;
|
package org.apache.fineract.integrationtests.common.loans;
|
||||||
|
|
||||||
|
import static org.junit.jupiter.api.Assertions.assertEquals;
|
||||||
|
|
||||||
import java.math.BigDecimal;
|
import java.math.BigDecimal;
|
||||||
import java.time.LocalDate;
|
import java.time.LocalDate;
|
||||||
import java.time.format.DateTimeFormatter;
|
import java.time.format.DateTimeFormatter;
|
||||||
@@ -83,8 +85,8 @@ public class LoanTestLifecycleExtension implements AfterEachCallback {
|
|||||||
new PostLoansLoanIdRequest().rejectedOnDate(dateFormatter.format(details.getTimeline().getSubmittedOnDate()))
|
new PostLoansLoanIdRequest().rejectedOnDate(dateFormatter.format(details.getTimeline().getSubmittedOnDate()))
|
||||||
.locale("en").dateFormat(DATE_FORMAT));
|
.locale("en").dateFormat(DATE_FORMAT));
|
||||||
});
|
});
|
||||||
// loanIds = LoanTransactionHelper.getLoanIdsByStatusId(300);
|
loanIds = LoanTransactionHelper.getLoanIdsByStatusId(300);
|
||||||
// assertEquals(0, loanIds.size());
|
assertEquals(0, loanIds.size());
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user