From 4bb2f5935bc61cc66a7ac691cfdbf079c864736b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20M=C3=B6sle?= Date: Thu, 11 Jan 2024 13:18:27 +0100 Subject: [PATCH] chore: fix tests --- .../core/application/usecase/ExecuteTaskUseCaseTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/digiwf-connector/digiwf-connector-starter/src/test/java/de/muenchen/oss/digiwf/connector/core/application/usecase/ExecuteTaskUseCaseTest.java b/digiwf-connector/digiwf-connector-starter/src/test/java/de/muenchen/oss/digiwf/connector/core/application/usecase/ExecuteTaskUseCaseTest.java index f8d43ba6f4..077718b222 100644 --- a/digiwf-connector/digiwf-connector-starter/src/test/java/de/muenchen/oss/digiwf/connector/core/application/usecase/ExecuteTaskUseCaseTest.java +++ b/digiwf-connector/digiwf-connector-starter/src/test/java/de/muenchen/oss/digiwf/connector/core/application/usecase/ExecuteTaskUseCaseTest.java @@ -39,7 +39,7 @@ void executeTask_shouldCallEmitEventWithCorrectParametersAndDefaultDestination() useCase.executeTask(command); // Assert - verify(emitEventOutPort).emitEvent("defaultDestination", command.getType(), command.getInstanceId(), command.getIntegrationName(), command.getData()); + verify(emitEventOutPort).emitEvent("defaultDestination", command.getType(), command.getIntegrationName(), command.getInstanceId(), command.getData()); } @Test @@ -57,7 +57,7 @@ void executeTask_shouldCallEmitEventWithCorrectParametersAndCustomDestination() useCase.executeTask(command); // Assert - verify(emitEventOutPort).emitEvent(command.getCustomDestination(), command.getType(), command.getInstanceId(), command.getIntegrationName(), command.getData()); + verify(emitEventOutPort).emitEvent(command.getCustomDestination(), command.getType(), command.getIntegrationName(), command.getInstanceId(), command.getData()); } @Test @@ -75,7 +75,7 @@ void executeTask_shouldCallEmitEventWithCorrectParametersAndCustomDestinationFor useCase.executeTask(command); // Assert - verify(emitEventOutPort).emitEvent(command.getCustomDestination(), command.getType(), command.getInstanceId(), command.getIntegrationName(), command.getData()); + verify(emitEventOutPort).emitEvent(command.getCustomDestination(), command.getType(), command.getIntegrationName(), command.getInstanceId(), command.getData()); } @Test