Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
LeonWehrhahn committed Jan 9, 2025
1 parent 7b54b4b commit e285f5b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -802,7 +802,7 @@ void requestModelingFeedbackSuccess_withAthenaFailure() throws Exception {

request.putWithResponseBody("/api/exercises/" + modelingExercise.getId() + "/request-feedback", null, StudentParticipation.class, HttpStatus.OK);

verify(resultWebsocketService, timeout(2000).times(1)).broadcastNewResult(any(), resultCaptor.capture());
verify(resultWebsocketService, timeout(2000).times(2)).broadcastNewResult(any(), resultCaptor.capture());

Result invokedModelingResult = resultCaptor.getAllValues().getFirst();
assertThat(invokedModelingResult).isNotNull();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,7 @@ describe('ModelingSubmissionComponent', () => {
detailText: 'feedback1',
credits: 1,
gradingInstruction,
type: FeedbackType.MANUAL_UNREFERENCED,
type: FeedbackType.AUTOMATIC,
} as Feedback,
{
id: 2,
Expand Down

0 comments on commit e285f5b

Please sign in to comment.