Skip to content

Commit

Permalink
Revise AssignmentSaveServiceImplTest
Browse files Browse the repository at this point in the history
  • Loading branch information
Rapter1990 committed Aug 19, 2023
1 parent 0b0ec65 commit 9bbcbe6
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ void givenValidAssignmentSaveRequest_whenAssignmentSaved_thenReturnSuccess() {
// Then
assignmentSaveService.saveAssignment(mockAssignmentSaveRequest);

Mockito.verify(assignmentRepository, Mockito.times(1)).save(Mockito.any(AssignmentEntity.class));
Mockito.verify(identity, Mockito.times(1)).getInstitutionId();

}

}

0 comments on commit 9bbcbe6

Please sign in to comment.