Skip to content

Commit

Permalink
Improved asserts in ongoing updates unit tests.
Browse files Browse the repository at this point in the history
Improved asserts in ongoing updates unit tests.
  • Loading branch information
infstar committed Nov 30, 2023
1 parent 1422c68 commit 170090f
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -255,12 +255,15 @@ public void testGraduationStudentRecordAsOngoingUpdate() {
assertThat(result.getStudentID()).isEqualTo(graduationStatusEntity.getStudentID());
assertThat(result.getPen()).isEqualTo(graduationStatusEntity.getPen());
assertThat(result.getStudentStatus()).isEqualTo(graduationStatusEntity.getStudentStatus());
assertThat(result.getProgram()).isEqualTo(newProgram);
assertThat(result.getSchoolOfRecord()).isEqualTo(graduationStatusEntity.getSchoolOfRecord());
assertThat(result.getGpa()).isEqualTo(graduationStatusEntity.getGpa());

assertThat(result.getRecalculateGradStatus()).isNull();
assertThat(result.getProgramCompletionDate()).isEqualTo(field1.getValue());
assertThat(result.getProgram()).isEqualTo(field2.getValue());
assertThat(result.getStudentGrade()).isEqualTo(field3.getValue());
assertThat(result.getStudentCitizenship()).isEqualTo(field4.getValue());
assertThat(result.getSchoolOfRecord()).isEqualTo(field5.getValue());
assertThat(result.getRecalculateGradStatus()).isNull();
assertThat(result.getRecalculateProjectedGrad()).isEqualTo("Y");
}

@Test
Expand Down

0 comments on commit 170090f

Please sign in to comment.