Skip to content

Commit

Permalink
GRAD2-2817
Browse files Browse the repository at this point in the history
TVR Delete Process - Backend Changes Endpoints
  • Loading branch information
arybakov-cgi committed Aug 28, 2024
1 parent a000b4b commit a897e8b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -861,6 +861,7 @@ public void testcreateAndStoreSchoolReports() {
@Test
public void testProcessStudentReports() {
final String studentReportType = "TVRRUN";
UUID studentID = UUID.randomUUID();

when(this.webClient.post()).thenReturn(this.requestBodyUriMock);
when(this.requestBodyUriMock.uri(String.format(constants.getUpdateStudentReport(), studentReportType))).thenReturn(this.requestBodyUriMock);
Expand All @@ -872,7 +873,7 @@ public void testProcessStudentReports() {

mockTokenResponseObject();

var result = this.restUtils.processStudentReports(new ArrayList<>(),studentReportType);
var result = this.restUtils.processStudentReports(List.of(studentID),studentReportType);
assertNotNull(studentReportType);
assertNotNull(result);
}
Expand Down

0 comments on commit a897e8b

Please sign in to comment.