Merge branch 'develop' into bugfix/lectures/fix-missing-file-extensio… #1887
GitHub Actions / H2 Tests
failed
Nov 28, 2024 in 1s
8466 passed, 1 failed and 2 skipped
Annotations
github-actions / H2 Tests
de.tum.cit.aet.artemis.lecture.AttachmentResourceIntegrationTest ► createAttachment()
Failed test found in:
build/test-results/test/TEST-de.tum.cit.aet.artemis.lecture.AttachmentResourceIntegrationTest.xml
Error:
java.lang.AssertionError: Status expected:<200> but was:<404>
Raw output
java.lang.AssertionError: Status expected:<200> but was:<404>
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$matcher$9(StatusResultMatchers.java:637)
at org.springframework.test.web.servlet.MockMvc$1.andExpect(MockMvc.java:214)
at de.tum.cit.aet.artemis.lecture.AttachmentResourceIntegrationTest.createAttachment(AttachmentResourceIntegrationTest.java:73)
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)
Loading