Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonEntholzer committed Nov 19, 2024
1 parent ed27a1b commit 48f3255
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -57,7 +57,7 @@ public class HestiaUtilTestService {
private ProgrammingSubmissionTestRepository programmingSubmissionRepository;

@Autowired
private TemplateProgrammingExerciseParticipationRepository templateProgrammingExerciseParticipationRepository;
private TemplateProgrammingExerciseParticipationTestRepository templateProgrammingExerciseParticipationRepository;

@Autowired
private SolutionProgrammingExerciseParticipationRepository solutionProgrammingExerciseParticipationRepository;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down Expand Up @@ -101,7 +101,7 @@ public abstract class AbstractSpringIntegrationLocalCILocalVCTest extends Abstra
protected ProgrammingExerciseBuildConfigRepository programmingExerciseBuildConfigRepository;

@Autowired
protected TemplateProgrammingExerciseParticipationRepository templateProgrammingExerciseParticipationRepository;
protected TemplateProgrammingExerciseParticipationTestRepository templateProgrammingExerciseParticipationRepository;

@Autowired
protected SolutionProgrammingExerciseParticipationRepository solutionProgrammingExerciseParticipationRepository;
Expand Down

0 comments on commit 48f3255

Please sign in to comment.