From 8797b3b2e268357bff0b1d8b2bf9eee3f8792256 Mon Sep 17 00:00:00 2001 From: Yaroslav_Kiriak Date: Mon, 27 Nov 2023 13:01:22 +0200 Subject: [PATCH] rebase onto master --- .../handlers/actions/CreateItemEventHandlerTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/org/folio/inventory/dataimport/handlers/actions/CreateItemEventHandlerTest.java b/src/test/java/org/folio/inventory/dataimport/handlers/actions/CreateItemEventHandlerTest.java index 363a5e31a..e0a65e189 100644 --- a/src/test/java/org/folio/inventory/dataimport/handlers/actions/CreateItemEventHandlerTest.java +++ b/src/test/java/org/folio/inventory/dataimport/handlers/actions/CreateItemEventHandlerTest.java @@ -1279,7 +1279,7 @@ public void shouldReturnFailedFutureWhenTryingToCreateItemsWithDifferentMaterial payloadContext.put(HOLDINGS_IDENTIFIERS, Json.encode(List.of(PERMANENT_LOCATION_ID, permanentLocationId2))); DataImportEventPayload dataImportEventPayload = new DataImportEventPayload() - .withEventType(DI_SRS_MARC_BIB_RECORD_CREATED.value()) + .withEventType(DI_INCOMING_MARC_BIB_RECORD_PARSED.value()) .withJobExecutionId(UUID.randomUUID().toString()) .withContext(payloadContext) .withCurrentNode(profileSnapshotWrapper.getChildSnapshotWrappers().get(0)); @@ -1332,7 +1332,7 @@ public void shouldCreateMultipleItemsWithDifferentMaterialTypesWhenNoPoLineInThe payloadContext.put(HOLDINGS_IDENTIFIERS, Json.encode(List.of(PERMANENT_LOCATION_ID, permanentLocationId2))); DataImportEventPayload dataImportEventPayload = new DataImportEventPayload() - .withEventType(DI_SRS_MARC_BIB_RECORD_CREATED.value()) + .withEventType(DI_INCOMING_MARC_BIB_RECORD_PARSED.value()) .withJobExecutionId(UUID.randomUUID().toString()) .withContext(payloadContext) .withCurrentNode(profileSnapshotWrapper.getChildSnapshotWrappers().get(0));