Lectures
: Improve lecture attachment validation
#9893
+169
−91
Merged
GitHub Actions / H2 Tests
failed
Nov 28, 2024 in 0s
8457 passed, 2 failed and 2 skipped
Annotations
Check failure on line 769 in src/test/java/de/tum/cit/aet/artemis/core/util/RequestUtilService.java
github-actions / H2 Tests
de.tum.cit.aet.artemis.exam.StudentExamIntegrationTest ► testDeleteExamWithStudentExamsAfterConductionAndEvaluation()
Failed test found in:
build/test-results/test/TEST-de.tum.cit.aet.artemis.exam.StudentExamIntegrationTest.xml
Error:
java.lang.AssertionError: Response status expected:<200> but was:<500>
Raw output
java.lang.AssertionError: Response status expected:<200> but was:<500>
at org.springframework.test.util.AssertionErrors.fail(AssertionErrors.java:59)
at org.springframework.test.util.AssertionErrors.assertEquals(AssertionErrors.java:122)
at org.springframework.test.web.servlet.result.StatusResultMatchers.lambda$is$1(StatusResultMatchers.java:64)
at org.springframework.test.web.servlet.MockMvc$1.andExpect(MockMvc.java:214)
at de.tum.cit.aet.artemis.core.util.RequestUtilService.delete(RequestUtilService.java:769)
at de.tum.cit.aet.artemis.exam.StudentExamIntegrationTest.testDeleteExamWithStudentExamsAfterConductionAndEvaluation(StudentExamIntegrationTest.java:2307)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)
github-actions / H2 Tests
de.tum.cit.aet.artemis.text.TextExerciseIntegrationTest ► testDeleteTextExerciseWithCompetency()
Failed test found in:
build/test-results/test/TEST-de.tum.cit.aet.artemis.text.TextExerciseIntegrationTest.xml
Error:
Wanted but not invoked:
Raw output
Wanted but not invoked:
competencyProgressService.updateProgressByCompetencyAsync(
de.tum.cit.aet.artemis.atlas.domain.competency.Competency@296
);
-> at de.tum.cit.aet.artemis.atlas.service.competency.CompetencyProgressService.updateProgressByCompetencyAsync(CompetencyProgressService.java:124)
Actually, there were zero interactions with this mock.
at app//de.tum.cit.aet.artemis.atlas.service.competency.CompetencyProgressService.updateProgressByCompetencyAsync(CompetencyProgressService.java:124)
at app//de.tum.cit.aet.artemis.text.TextExerciseIntegrationTest.testDeleteTextExerciseWithCompetency(TextExerciseIntegrationTest.java:203)
at [email protected]/java.lang.reflect.Method.invoke(Method.java:580)
at [email protected]/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
at [email protected]/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
at [email protected]/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
at [email protected]/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
at [email protected]/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)
Loading