From fa53aee3fffed38bee7097e0cdad31ab35bf7a0b Mon Sep 17 00:00:00 2001 From: rabeaM Date: Wed, 13 Nov 2024 15:48:48 +0100 Subject: [PATCH] test --- .../integrationtesting/tests/ProjectControllerIT.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/test/java/org/highmed/numportal/integrationtesting/tests/ProjectControllerIT.java b/src/test/java/org/highmed/numportal/integrationtesting/tests/ProjectControllerIT.java index 6371bad3..dd7aa785 100644 --- a/src/test/java/org/highmed/numportal/integrationtesting/tests/ProjectControllerIT.java +++ b/src/test/java/org/highmed/numportal/integrationtesting/tests/ProjectControllerIT.java @@ -27,6 +27,9 @@ import org.highmed.numportal.domain.repository.OrganizationRepository; import org.highmed.numportal.domain.repository.ProjectRepository; import org.highmed.numportal.domain.repository.UserDetailsRepository; +import org.highmed.numportal.service.ProjectService; +import org.highmed.numportal.service.util.ExportHeaderUtil; +import org.highmed.numportal.service.util.ExportUtil; import java.time.LocalDate; import java.util.List; @@ -44,6 +47,7 @@ public class ProjectControllerIT extends IntegrationTest { private static final String PROJECT_PATH = "/project"; + @Autowired public MockMvc mockMvc; UserDetails user1; UserDetails user2; @@ -52,6 +56,8 @@ public class ProjectControllerIT extends IntegrationTest { .registerModule(new PageJacksonModule()) .registerModule(new SortJacksonModule()) .registerModule(new JavaTimeModule()); + @Autowired private ExportUtil exportUtil; + @Autowired private ExportHeaderUtil exportHeaderUtil; @Autowired private ProjectRepository projectRepository; @Autowired private UserDetailsRepository userDetailsRepository; @Autowired