diff --git a/api/src/test/java/ca/bc/gov/educ/api/batchgraduation/util/RestUtilsTest.java b/api/src/test/java/ca/bc/gov/educ/api/batchgraduation/util/RestUtilsTest.java index 60004240..21e949e5 100644 --- a/api/src/test/java/ca/bc/gov/educ/api/batchgraduation/util/RestUtilsTest.java +++ b/api/src/test/java/ca/bc/gov/educ/api/batchgraduation/util/RestUtilsTest.java @@ -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); @@ -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); }