From a897e8b0f96ccafe31ce240896522055f83640ef Mon Sep 17 00:00:00 2001 From: arybakov Date: Wed, 28 Aug 2024 12:10:23 -0600 Subject: [PATCH] GRAD2-2817 TVR Delete Process - Backend Changes Endpoints --- .../ca/bc/gov/educ/api/batchgraduation/util/RestUtilsTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); }