From a3d0d85c63a0735431e884ae4dc8bf903ee94a4a Mon Sep 17 00:00:00 2001 From: Michael Dyer Date: Thu, 31 Oct 2024 18:57:06 +0100 Subject: [PATCH] Fix build --- .../de/tum/cit/aet/artemis/iris/PyrisLectureIngestionTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/de/tum/cit/aet/artemis/iris/PyrisLectureIngestionTest.java b/src/test/java/de/tum/cit/aet/artemis/iris/PyrisLectureIngestionTest.java index 12128ba116f6..b956d16b737e 100644 --- a/src/test/java/de/tum/cit/aet/artemis/iris/PyrisLectureIngestionTest.java +++ b/src/test/java/de/tum/cit/aet/artemis/iris/PyrisLectureIngestionTest.java @@ -288,7 +288,7 @@ void testRunIdIngestionJob() throws Exception { assertThat(dto.settings().authenticationToken()).isNotNull(); }); String newJobToken = pyrisJobService.addIngestionWebhookJob(); - String chatJobToken = pyrisJobService.registerJob(token -> new CourseChatJob(token, 123L, 123L)); + String chatJobToken = pyrisJobService.registerJob(token -> new CourseChatJob(token, 123L, 123L, 123L)); PyrisStageDTO errorStage = new PyrisStageDTO("error", 1, PyrisStageState.ERROR, "Stage not broke due to error."); PyrisLectureIngestionStatusUpdateDTO statusUpdate = new PyrisLectureIngestionStatusUpdateDTO("Success", List.of(errorStage)); var headers = new HttpHeaders(new LinkedMultiValueMap<>(Map.of("Authorization", List.of("Bearer " + chatJobToken))));