From c3bc5568fe026fe81e4d896994c30927b15bfdd4 Mon Sep 17 00:00:00 2001 From: Kamal Mohammed Date: Mon, 4 Mar 2024 10:46:25 -0700 Subject: [PATCH] GRAD2-2465 - Delete a student and related data --- .../bc/gov/educ/api/trax/service/TraxCommonServiceTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/src/test/java/ca/bc/gov/educ/api/trax/service/TraxCommonServiceTest.java b/api/src/test/java/ca/bc/gov/educ/api/trax/service/TraxCommonServiceTest.java index 76346be2..c27598f6 100644 --- a/api/src/test/java/ca/bc/gov/educ/api/trax/service/TraxCommonServiceTest.java +++ b/api/src/test/java/ca/bc/gov/educ/api/trax/service/TraxCommonServiceTest.java @@ -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); @@ -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