From a990255089da6787a4240a01d8a77cdb42989287 Mon Sep 17 00:00:00 2001 From: "Krzysztof Massalski (Extern)" Date: Fri, 29 Sep 2023 11:46:30 +0200 Subject: [PATCH] feat(impl):[TRI-1663] code smell --- .../EssRecursiveNotificationHandlerTest.java | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/irs-api/src/test/java/org/eclipse/tractusx/irs/ess/service/EssRecursiveNotificationHandlerTest.java b/irs-api/src/test/java/org/eclipse/tractusx/irs/ess/service/EssRecursiveNotificationHandlerTest.java index 6dff062526..14827db4f6 100644 --- a/irs-api/src/test/java/org/eclipse/tractusx/irs/ess/service/EssRecursiveNotificationHandlerTest.java +++ b/irs-api/src/test/java/org/eclipse/tractusx/irs/ess/service/EssRecursiveNotificationHandlerTest.java @@ -94,14 +94,12 @@ void shouldReplyOnlyWhenAllJobsAreCompleted() { } private RelatedInvestigationJobs createRelatedJobsWith(List uuids) { - final EdcNotification build = EdcNotification.builder() - .header(EdcNotificationHeader.builder() - .notificationId( - "notification-id") - .build()) - .content(InvestigationNotificationContent.builder().build()) - .build(); - return new RelatedInvestigationJobs(build, uuids); + return new RelatedInvestigationJobs(EdcNotification.builder() + .header(EdcNotificationHeader.builder() + .notificationId( + "notification-id") + .build()) + .build(), uuids); } } \ No newline at end of file