Skip to content

Development: Extend lti content selection table #63557

Development: Extend lti content selection table

Development: Extend lti content selection table #63557

GitHub Actions / H2 Tests failed Jan 3, 2025 in 0s

8582 passed, 3 failed and 1 skipped

Tests failed
Report exceeded GitHub limit of 65535 bytes and has been trimmed

Annotations

Check failure on line 218 in src/test/java/de/tum/cit/aet/artemis/core/util/RequestUtilService.java

See this annotation in the file changed.

@github-actions github-actions / H2 Tests

de.tum.cit.aet.artemis.lti.LtiDeepLinkingIntegrationTest ► deepLinkingFailsAsStudent()

Failed test found in:
  build/test-results/test/TEST-de.tum.cit.aet.artemis.lti.LtiDeepLinkingIntegrationTest.xml
Error:
  java.lang.AssertionError: Response status expected:<403> but was:<400>
Raw output
java.lang.AssertionError: Response status expected:<403> but was:<400>
	at org.springframework.test.util.AssertionErrors.fail(AssertionErrors.java:61)
	at org.springframework.test.util.AssertionErrors.assertEquals(AssertionErrors.java:128)
	at org.springframework.test.web.servlet.result.StatusResultMatchers.lambda$is$1(StatusResultMatchers.java:65)
	at org.springframework.test.web.servlet.MockMvc$1.andExpect(MockMvc.java:214)
	at de.tum.cit.aet.artemis.core.util.RequestUtilService.postWithoutResponseBody(RequestUtilService.java:218)
	at de.tum.cit.aet.artemis.lti.LtiDeepLinkingIntegrationTest.deepLinkingFailsAsStudent(LtiDeepLinkingIntegrationTest.java:58)
	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)

Check failure on line 218 in src/test/java/de/tum/cit/aet/artemis/core/util/RequestUtilService.java

See this annotation in the file changed.

@github-actions github-actions / H2 Tests

de.tum.cit.aet.artemis.lti.LtiDeepLinkingIntegrationTest ► deepLinkingSuccessAsInstructor()

Failed test found in:
  build/test-results/test/TEST-de.tum.cit.aet.artemis.lti.LtiDeepLinkingIntegrationTest.xml
Error:
  java.lang.AssertionError: Response status expected:<200> but was:<400>
Raw output
java.lang.AssertionError: Response status expected:<200> but was:<400>
	at org.springframework.test.util.AssertionErrors.fail(AssertionErrors.java:61)
	at org.springframework.test.util.AssertionErrors.assertEquals(AssertionErrors.java:128)
	at org.springframework.test.web.servlet.result.StatusResultMatchers.lambda$is$1(StatusResultMatchers.java:65)
	at org.springframework.test.web.servlet.MockMvc$1.andExpect(MockMvc.java:214)
	at de.tum.cit.aet.artemis.core.util.RequestUtilService.postWithoutResponseBody(RequestUtilService.java:218)
	at de.tum.cit.aet.artemis.lti.LtiDeepLinkingIntegrationTest.deepLinkingSuccessAsInstructor(LtiDeepLinkingIntegrationTest.java:111)
	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)

Check failure on line 141 in src/main/java/de/tum/cit/aet/artemis/exam/service/ExamLiveEventsService.java

See this annotation in the file changed.

@github-actions github-actions / H2 Tests

de.tum.cit.aet.artemis.modeling.ModelingExerciseIntegrationTest ► testUpdateModelingExerciseForExam_asInstructor()

Failed test found in:
  build/test-results/test/TEST-de.tum.cit.aet.artemis.modeling.ModelingExerciseIntegrationTest.xml
Error:
  Wanted but not invoked:
Raw output
Wanted but not invoked:
examLiveEventsService.createAndSendProblemStatementUpdateEvent(
    ModelingExercise{id=1480, maxPoints='5.0', diagramType='ClassDiagram', exampleSolutionModel='This is my example solution model', exampleSolutionExplanation='This is my example solution model'},
    "notified!",
    <any>
);
-> at de.tum.cit.aet.artemis.exam.service.ExamLiveEventsService.createAndSendProblemStatementUpdateEvent(ExamLiveEventsService.java:141)
Actually, there were zero interactions with this mock.

	at app//de.tum.cit.aet.artemis.exam.service.ExamLiveEventsService.createAndSendProblemStatementUpdateEvent(ExamLiveEventsService.java:141)
	at app//de.tum.cit.aet.artemis.modeling.ModelingExerciseIntegrationTest.testUpdateModelingExerciseForExam_asInstructor(ModelingExerciseIntegrationTest.java:271)
	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)