Skip to content

Commit

Permalink
chore: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lmoesle committed Jan 15, 2024
1 parent 4fadcb0 commit 4bb2f59
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 4bb2f59

Please sign in to comment.