Skip to content

Merge branch 'develop' into feature/assessment/review-notes #320

Merge branch 'develop' into feature/assessment/review-notes

Merge branch 'develop' into feature/assessment/review-notes #320

Triggered via push April 25, 2024 09:25
Status Success
Total duration 56s
Artifacts
Check if windfiles and scripts match
46s
Check if windfiles and scripts match
Fit to window
Zoom out
Zoom in

Annotations

3 errors
test#L0
Junit Results ran 7398 in 905.3279999999997 seconds 0 Errored, 1 Failed, 32 Skipped
testDeleteConversationPost(): /home/runner/work/Artemis/Artemis/src/test/java/de/tum/in/www1/artemis/metis/MessageIntegrationTest.java#L609
Junit test testDeleteConversationPost() failed org.mockito.exceptions.misusing.UnfinishedStubbingException: Unfinished stubbing detected here: -> at de.tum.in.www1.artemis.AbstractArtemisIntegrationTest.mockMailService(AbstractArtemisIntegrationTest.java:157) 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.in.www1.artemis.metis.MessageIntegrationTest ► testDeleteConversationPost(): src/test/java/de/tum/in/www1/artemis/AbstractArtemisIntegrationTest.java#L157
Failed test found in: build/test-results/test/TEST-de.tum.in.www1.artemis.metis.MessageIntegrationTest.xml Error: org.mockito.exceptions.misusing.UnfinishedStubbingException: