Skip to content
Snippets Groups Projects
Commit 08e99e7f authored by OZGCloud's avatar OZGCloud
Browse files

OZG-1513 handle SEND_POSTFACH_NACHRICHT order instead of SEND_POSTFACH_MAIL

parent 54c3131c
No related branches found
No related tags found
No related merge requests found
......@@ -90,7 +90,7 @@ public class CommandController {
}
private boolean isSendPostfachMailOrder(CreateCommand command) {
return command.getOrder() == CommandOrder.SEND_POSTFACH_MAIL || command.getOrder() == CommandOrder.SEND_POSTFACH_NACHRICHT;
return command.getOrder() == CommandOrder.SEND_POSTFACH_NACHRICHT;
}
CreateCommand prepareCommandForPostfachNachricht(CreateCommand command, String vorgangId) {
......
......@@ -72,7 +72,7 @@ public class PostfachMailTestFactory {
}
public static String buildSendPostfachMailContent(PostfachMail postfachMail) {
return buildSendPostfachMailContent(postfachMail, CommandOrder.SEND_POSTFACH_MAIL);
return buildSendPostfachMailContent(postfachMail, CommandOrder.SEND_POSTFACH_NACHRICHT);
}
public static String buildSendPostfachMailContent(PostfachMail postfachMail, CommandOrder order) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment