Skip to content

Commit

Permalink
GRAD2-2283
Browse files Browse the repository at this point in the history
Student Archive Process - Backend endpoints To COMPLETE
  • Loading branch information
arybakov-cgi committed Jul 10, 2024
1 parent 226580d commit 242cb14
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,6 @@ public void testGetStudentsCountForAmalgamatedSchoolReport() {
public void testGetStudentsCount() {
// ID
String mincode = "123456789";
UUID studentID = UUID.randomUUID();
Mockito.when(graduationStatusService.countBySchoolOfRecordsAndStudentStatus(List.of(mincode), "CUR")).thenReturn(1L);
graduationStatusController.getStudentsCount("CUR", List.of(mincode));
Mockito.verify(graduationStatusService).countBySchoolOfRecordsAndStudentStatus(List.of(mincode), "CUR");
Expand All @@ -617,7 +616,6 @@ public void testGetStudentsCount() {
public void testArchiveStudents() {
// ID
String mincode = "123456789";
UUID studentID = UUID.randomUUID();
Mockito.when(graduationStatusService.archiveStudents(1L, List.of(mincode), "CUR")).thenReturn(1);
graduationStatusController.archiveStudents(1L, "CUR", List.of(mincode));
Mockito.verify(graduationStatusService).archiveStudents(1L, List.of(mincode), "CUR");
Expand Down

0 comments on commit 242cb14

Please sign in to comment.