Skip to content

Commit

Permalink
adjusted mock
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonEntholzer committed Sep 22, 2024
1 parent fdac5df commit 448a9c4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export class MockProgrammingExerciseParticipationService implements IProgramming
getStudentParticipationWithAllResults = (participationId: number) => of({} as ProgrammingExerciseStudentParticipation);
retrieveCommitHistoryForParticipation = (participationId: number) => of([] as CommitInfo[]);
retrieveCommitHistoryForTemplateSolutionOrTests = (participationId: number, repositoryType: string) => of([] as CommitInfo[]);
retrieveCommitHistoryForAuxiliaryRepository = (exerciseId: number, repositoryType: string, repositoryId: number) => of([] as CommitInfo[]);
retrieveCommitHistoryForAuxiliaryRepository = (exerciseId: number, repositoryId: number) => of([] as CommitInfo[]);
getParticipationRepositoryFilesWithContentAtCommitForCommitDetailsView = (exerciseId: number, participationId: number, commitId: string, repositoryType: string) =>
of(new Map<string, string>());
checkIfParticipationHasResult = (participationId: number) => of(true);
Expand Down

0 comments on commit 448a9c4

Please sign in to comment.