Skip to content

Commit

Permalink
VKT(Backend): Fix test setup
Browse files Browse the repository at this point in the history
  • Loading branch information
pkoivisto committed Nov 13, 2024
1 parent 52622d9 commit 6a15095
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -56,6 +52,9 @@ class ClerkEnrollmentServiceTest {
@Resource
private EnrollmentAppointmentRepository enrollmentAppointmentRepository;

@Resource
private EnrollmentGradesRepository enrollmentGradesRepository;

@Resource
private FreeEnrollmentRepository freeEnrollmentRepository;

Expand Down Expand Up @@ -88,6 +87,7 @@ public void setup() {
new ClerkEnrollmentService(
enrollmentRepository,
enrollmentAppointmentRepository,
enrollmentGradesRepository,
examEventRepository,
paymentRepository,
auditService,
Expand Down

0 comments on commit 6a15095

Please sign in to comment.