From 26986e2eb6983f3238a3176def794c41ee00e329 Mon Sep 17 00:00:00 2001 From: Jinil Sung Date: Wed, 3 Jul 2024 18:02:08 -0700 Subject: [PATCH] GRAD2-2805: task is complete. GRAD2-2805: task is complete. --- .../ca/bc/gov/educ/api/trax/service/EventCommonService.java | 2 +- .../test/java/ca/bc/gov/educ/api/trax/support/TestUtils.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api/src/main/java/ca/bc/gov/educ/api/trax/service/EventCommonService.java b/api/src/main/java/ca/bc/gov/educ/api/trax/service/EventCommonService.java index d07b18ee..bfb40695 100644 --- a/api/src/main/java/ca/bc/gov/educ/api/trax/service/EventCommonService.java +++ b/api/src/main/java/ca/bc/gov/educ/api/trax/service/EventCommonService.java @@ -281,7 +281,7 @@ private void checkAndPopulateTraxStudentStatus(TraxStudentEntity traxStudentEnti newArchiveFlag = "I"; } else if (StringUtils.equals(gradStudentStatus, "TER")) { newStudStatus = "T"; - newArchiveFlag = "I"; + newArchiveFlag = "A"; } if (!StringUtils.equalsIgnoreCase(studStatus, newStudStatus)) { diff --git a/api/src/test/java/ca/bc/gov/educ/api/trax/support/TestUtils.java b/api/src/test/java/ca/bc/gov/educ/api/trax/support/TestUtils.java index 327d62c4..e2a7b93e 100644 --- a/api/src/test/java/ca/bc/gov/educ/api/trax/support/TestUtils.java +++ b/api/src/test/java/ca/bc/gov/educ/api/trax/support/TestUtils.java @@ -178,7 +178,7 @@ public static TraxStudentEntity createTraxStudent(String program, String student traxStudent.setArchiveFlag("I"); } else if (StringUtils.equals(studentStatus, "TER")) { traxStudent.setStudStatus("T"); - traxStudent.setArchiveFlag("I"); + traxStudent.setArchiveFlag("A"); } return traxStudent; }