From ef3c3b3a2db6cdc8959482f1d314e77babbc5bc0 Mon Sep 17 00:00:00 2001 From: SodhiA1 <38086281+SodhiA1@users.noreply.github.com> Date: Thu, 30 Nov 2023 12:24:56 -0800 Subject: [PATCH] Update EventHandlerServiceTest.java --- .../educ/api/institute/service/EventHandlerServiceTest.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/api/src/test/java/ca/bc/gov/educ/api/institute/service/EventHandlerServiceTest.java b/api/src/test/java/ca/bc/gov/educ/api/institute/service/EventHandlerServiceTest.java index 649bcc64..123fe9f5 100644 --- a/api/src/test/java/ca/bc/gov/educ/api/institute/service/EventHandlerServiceTest.java +++ b/api/src/test/java/ca/bc/gov/educ/api/institute/service/EventHandlerServiceTest.java @@ -289,6 +289,9 @@ public void testHandleEvent_givenEventTypeMOVE_SCHOOL__DoesExistAndSynchronousNa schoolRepository.save(fromSchoolEntity); School toSchool = new School(); + toSchool.setGrades(List.of(createSchoolGrade())); + toSchool.setNeighborhoodLearning(List.of(createNeighborhoodLearning())); + toSchool.setAddresses(List.of(createSchoolAddress())); SchoolMapper map = SchoolMapper.mapper; BeanUtils.copyProperties(map.toStructure(toSchoolEntity), toSchool);