diff --git a/backend/vkt/src/test/java/fi/oph/vkt/service/ClerkEnrollmentServiceTest.java b/backend/vkt/src/test/java/fi/oph/vkt/service/ClerkEnrollmentServiceTest.java index 4978b1031..a73c10792 100644 --- a/backend/vkt/src/test/java/fi/oph/vkt/service/ClerkEnrollmentServiceTest.java +++ b/backend/vkt/src/test/java/fi/oph/vkt/service/ClerkEnrollmentServiceTest.java @@ -25,11 +25,7 @@ import fi.oph.vkt.model.Person; import fi.oph.vkt.model.type.EnrollmentStatus; import fi.oph.vkt.model.type.ExamLanguage; -import fi.oph.vkt.repository.EnrollmentAppointmentRepository; -import fi.oph.vkt.repository.EnrollmentRepository; -import fi.oph.vkt.repository.ExamEventRepository; -import fi.oph.vkt.repository.FreeEnrollmentRepository; -import fi.oph.vkt.repository.PaymentRepository; +import fi.oph.vkt.repository.*; import fi.oph.vkt.service.koski.KoskiService; import fi.oph.vkt.util.ClerkEnrollmentUtil; import fi.oph.vkt.util.UUIDSource; @@ -56,6 +52,9 @@ class ClerkEnrollmentServiceTest { @Resource private EnrollmentAppointmentRepository enrollmentAppointmentRepository; + @Resource + private EnrollmentGradesRepository enrollmentGradesRepository; + @Resource private FreeEnrollmentRepository freeEnrollmentRepository; @@ -88,6 +87,7 @@ public void setup() { new ClerkEnrollmentService( enrollmentRepository, enrollmentAppointmentRepository, + enrollmentGradesRepository, examEventRepository, paymentRepository, auditService,