From d70fdff68d90d0444c7f988d3b027b65fe14ddbb Mon Sep 17 00:00:00 2001 From: saba_zedginidze Date: Mon, 30 Dec 2024 18:07:01 +0400 Subject: [PATCH] [MODEXPS-273] Fix failing test --- .../acquisitions/edifact/jobs/ExportHistoryTaskletTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/test/java/org/folio/dew/batch/acquisitions/edifact/jobs/ExportHistoryTaskletTest.java b/src/test/java/org/folio/dew/batch/acquisitions/edifact/jobs/ExportHistoryTaskletTest.java index 51dcf13d..9fb68121 100644 --- a/src/test/java/org/folio/dew/batch/acquisitions/edifact/jobs/ExportHistoryTaskletTest.java +++ b/src/test/java/org/folio/dew/batch/acquisitions/edifact/jobs/ExportHistoryTaskletTest.java @@ -21,6 +21,7 @@ import java.util.UUID; import static org.folio.dew.domain.dto.JobParameterNames.ACQ_EXPORT_FILE; +import static org.folio.dew.domain.dto.JobParameterNames.ACQ_EXPORT_FILE_NAME; import static org.folio.dew.domain.dto.JobParameterNames.EDIFACT_ORDERS_EXPORT; import static org.folio.dew.domain.dto.JobParameterNames.JOB_ID; import static org.folio.dew.domain.dto.JobParameterNames.JOB_NAME; @@ -68,7 +69,7 @@ void testCreateExportHistoryWithCompleteStatus() throws IOException { protected ExecutionContext getExecutionContext() { ExecutionContext result = new ExecutionContext(); - result.put("edifactFileName", "test_file"); + result.put(ACQ_EXPORT_FILE_NAME, "test_file"); return result; }