Skip to content

Integrated code lifecycle: Add auxiliary repository view #60210

Integrated code lifecycle: Add auxiliary repository view

Integrated code lifecycle: Add auxiliary repository view #60210

Triggered via pull request October 13, 2024 17:05
@SimonEntholzerSimonEntholzer
synchronize #9321
Status Success
Total duration 11s
Artifacts

pullrequest-labeler.yml

on: pull_request_target
Fit to window
Zoom out
Zoom in

Annotations

9 errors
test#L0
Junit Results ran 8258 in 1115.4420000000002 seconds 0 Errored, 4 Failed, 2 Skipped
updateExercisePoints_ShouldUpdatePointsInParticipantScores(boolean) [2] isTeamTest=false: /home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/assessment/ResultListenerIntegrationTest.java#L0
Junit test updateExercisePoints_ShouldUpdatePointsInParticipantScores(boolean) [2] isTeamTest=false failed org.opentest4j.AssertionFailedError: expected: 200.0 but was: 20.0
testTutorialGroupNotifications_groupUnassigned(): /home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/communication/notification/SingleUserNotificationServiceTest.java#L552
Junit test testTutorialGroupNotifications_groupUnassigned() failed java.lang.AssertionError: [1 Firebase notifications should have been sent] Expected size: 1 but was: 0 in: []
testDeleteModelingExerciseWithCompetency(): /home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/modeling/ModelingExerciseIntegrationTest.java#L409
Junit test testDeleteModelingExerciseWithCompetency() failed Wanted but not invoked: competencyProgressService.updateProgressByCompetencyAsync( de.tum.cit.aet.artemis.atlas.domain.competency.Competency@34 ); -> at de.tum.cit.aet.artemis.atlas.service.competency.CompetencyProgressService.updateProgressByCompetencyAsync(CompetencyProgressService.java:123) Actually, there were zero interactions with this mock.
getGitDiffAsAnEditor(): /home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/programming/hestia/ProgrammingExerciseGitDiffReportIntegrationTest.java#L87
Junit test getGitDiffAsAnEditor() failed org.mockito.exceptions.misusing.UnfinishedStubbingException: Unfinished stubbing detected here: -> at de.tum.cit.aet.artemis.programming.hestia.util.HestiaUtilTestService.setupSolution(HestiaUtilTestService.java:178) E.g. thenReturn() may be missing. Examples of correct stubbing: when(mock.isOk()).thenReturn(true); when(mock.isOk()).thenThrow(exception); doThrow(exception).when(mock).someVoidMethod(); Hints: 1. missing thenReturn() 2. you are trying to stub a final method, which is not supported 3. you are stubbing the behaviour of another mock inside before 'thenReturn' instruction is completed
de.tum.cit.aet.artemis.assessment.ResultListenerIntegrationTest ► updateExercisePoints_ShouldUpdatePointsInParticipantScores(boolean) [2] isTeamTest=false: src/test/java/de/tum/cit/aet/artemis/assessment/ResultListenerIntegrationTest.java#L121
Failed test found in: build/test-results/test/TEST-de.tum.cit.aet.artemis.assessment.ResultListenerIntegrationTest.xml Error: org.opentest4j.AssertionFailedError:
de.tum.cit.aet.artemis.communication.notification.SingleUserNotificationServiceTest ► testTutorialGroupNotifications_groupUnassigned(): src/test/java/de/tum/cit/aet/artemis/communication/notification/SingleUserNotificationServiceTest.java#L598
Failed test found in: build/test-results/test/TEST-de.tum.cit.aet.artemis.communication.notification.SingleUserNotificationServiceTest.xml Error: java.lang.AssertionError: [1 Firebase notifications should have been sent]
de.tum.cit.aet.artemis.modeling.ModelingExerciseIntegrationTest ► testDeleteModelingExerciseWithCompetency(): src/main/java/de/tum/cit/aet/artemis/atlas/service/competency/CompetencyProgressService.java#L123
Failed test found in: build/test-results/test/TEST-de.tum.cit.aet.artemis.modeling.ModelingExerciseIntegrationTest.xml Error: Wanted but not invoked:
de.tum.cit.aet.artemis.programming.hestia.ProgrammingExerciseGitDiffReportIntegrationTest ► getGitDiffAsAnEditor(): src/main/java/de/tum/cit/aet/artemis/programming/service/GitService.java#L319
Failed test found in: build/test-results/test/TEST-de.tum.cit.aet.artemis.programming.hestia.ProgrammingExerciseGitDiffReportIntegrationTest.xml Error: org.mockito.exceptions.misusing.UnfinishedStubbingException: