Skip to content

Commit

Permalink
Fix username for student history
Browse files Browse the repository at this point in the history
  • Loading branch information
arybakov-cgi committed Aug 21, 2024
1 parent 4bb31d1 commit ffc5368
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1529,6 +1529,8 @@ public void testDeleteCRUDStudentGradCareerProgram() {

Optional<GraduationStudentRecordEntity> optionalGraduationStudentRecordEntity = Optional.of(graduationStudentRecordEntity);

historyService.createStudentOptionalProgramHistory(gradStudentOptionalProgramEntity, "USER_DELETE");

when(graduationStatusRepository.findById(studentID)).thenReturn(optionalGraduationStudentRecordEntity);
when(gradStudentOptionalProgramRepository.findByStudentIDAndOptionalProgramID(studentID, optionalProgramID)).thenReturn(Optional.of(gradStudentOptionalProgramEntity));
doNothing().when(gradStudentOptionalProgramRepository).delete(gradStudentOptionalProgramEntity);
Expand Down

0 comments on commit ffc5368

Please sign in to comment.