diff --git a/src/test/java/de/tum/cit/aet/artemis/programming/hestia/util/HestiaUtilTestService.java b/src/test/java/de/tum/cit/aet/artemis/programming/hestia/util/HestiaUtilTestService.java index 92e857ca6eea..f4bae09afa51 100644 --- a/src/test/java/de/tum/cit/aet/artemis/programming/hestia/util/HestiaUtilTestService.java +++ b/src/test/java/de/tum/cit/aet/artemis/programming/hestia/util/HestiaUtilTestService.java @@ -26,11 +26,11 @@ import de.tum.cit.aet.artemis.programming.domain.Repository; import de.tum.cit.aet.artemis.programming.repository.ProgrammingExerciseBuildConfigRepository; import de.tum.cit.aet.artemis.programming.repository.SolutionProgrammingExerciseParticipationRepository; -import de.tum.cit.aet.artemis.programming.repository.TemplateProgrammingExerciseParticipationRepository; import de.tum.cit.aet.artemis.programming.service.GitService; import de.tum.cit.aet.artemis.programming.test_repository.ProgrammingExerciseStudentParticipationTestRepository; import de.tum.cit.aet.artemis.programming.test_repository.ProgrammingExerciseTestRepository; import de.tum.cit.aet.artemis.programming.test_repository.ProgrammingSubmissionTestRepository; +import de.tum.cit.aet.artemis.programming.test_repository.TemplateProgrammingExerciseParticipationTestRepository; import de.tum.cit.aet.artemis.programming.util.GitUtilService; import de.tum.cit.aet.artemis.programming.util.LocalRepository; import de.tum.cit.aet.artemis.programming.util.ProgrammingExerciseUtilService; @@ -57,7 +57,7 @@ public class HestiaUtilTestService { private ProgrammingSubmissionTestRepository programmingSubmissionRepository; @Autowired - private TemplateProgrammingExerciseParticipationRepository templateProgrammingExerciseParticipationRepository; + private TemplateProgrammingExerciseParticipationTestRepository templateProgrammingExerciseParticipationRepository; @Autowired private SolutionProgrammingExerciseParticipationRepository solutionProgrammingExerciseParticipationRepository; diff --git a/src/test/java/de/tum/cit/aet/artemis/shared/base/AbstractSpringIntegrationLocalCILocalVCTest.java b/src/test/java/de/tum/cit/aet/artemis/shared/base/AbstractSpringIntegrationLocalCILocalVCTest.java index 27c299ffa2ac..ecaddcbfd2e5 100644 --- a/src/test/java/de/tum/cit/aet/artemis/shared/base/AbstractSpringIntegrationLocalCILocalVCTest.java +++ b/src/test/java/de/tum/cit/aet/artemis/shared/base/AbstractSpringIntegrationLocalCILocalVCTest.java @@ -49,13 +49,13 @@ import de.tum.cit.aet.artemis.programming.icl.TestBuildAgentConfiguration; import de.tum.cit.aet.artemis.programming.repository.ProgrammingExerciseBuildConfigRepository; import de.tum.cit.aet.artemis.programming.repository.SolutionProgrammingExerciseParticipationRepository; -import de.tum.cit.aet.artemis.programming.repository.TemplateProgrammingExerciseParticipationRepository; import de.tum.cit.aet.artemis.programming.service.ProgrammingMessagingService; import de.tum.cit.aet.artemis.programming.service.localci.LocalCIService; import de.tum.cit.aet.artemis.programming.service.localvc.LocalVCService; import de.tum.cit.aet.artemis.programming.test_repository.BuildJobTestRepository; import de.tum.cit.aet.artemis.programming.test_repository.ProgrammingExerciseStudentParticipationTestRepository; import de.tum.cit.aet.artemis.programming.test_repository.ProgrammingExerciseTestRepository; +import de.tum.cit.aet.artemis.programming.test_repository.TemplateProgrammingExerciseParticipationTestRepository; // Must start up an actual web server such that the tests can communicate with the ArtemisGitServlet using JGit. // Otherwise, only MockMvc requests could be used. The port this runs on is defined at server.port (see @TestPropertySource). @@ -101,7 +101,7 @@ public abstract class AbstractSpringIntegrationLocalCILocalVCTest extends Abstra protected ProgrammingExerciseBuildConfigRepository programmingExerciseBuildConfigRepository; @Autowired - protected TemplateProgrammingExerciseParticipationRepository templateProgrammingExerciseParticipationRepository; + protected TemplateProgrammingExerciseParticipationTestRepository templateProgrammingExerciseParticipationRepository; @Autowired protected SolutionProgrammingExerciseParticipationRepository solutionProgrammingExerciseParticipationRepository;