Skip to content

Commit

Permalink
GRAD2-2465 - Delete a student and related data
Browse files Browse the repository at this point in the history
  • Loading branch information
kamal-mohammed committed Mar 4, 2024
1 parent bedd3bf commit c3bc556
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -681,7 +681,7 @@ public void testSaveTraxStudentNo() {
public void updateSaveTraxStudentNo() {
TraxStudentNo traxStudentNo = new TraxStudentNo();
traxStudentNo.setStudNo("123456789");
traxStudentNo.setStatus("Y");
traxStudentNo.setStatus(null);

TraxStudentNoEntity traxStudentNoEntity = traxStudentNoTransformer.transformToEntity(traxStudentNo);

Expand All @@ -691,7 +691,7 @@ public void updateSaveTraxStudentNo() {
var result = traxCommonService.updateTraxStudentNo(traxStudentNo.getStudNo());
assertThat(result).isNotNull();
assertThat(traxStudentNo.getStudNo()).isEqualTo(result.getStudNo());
assertThat(traxStudentNo.getStatus()).isEqualTo(result.getStatus());
assertThat(traxStudentNo.getStatus()).isNull();
}

// @Test
Expand Down

0 comments on commit c3bc556

Please sign in to comment.