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

OZG-4191 OZG-4627 rename client name in history

parent c332ef41
Branches
Tags
No related merge requests found
......@@ -49,7 +49,7 @@ class HistorieCommandHandler {
static final String DIRECTION_INCOMMING = "IN";
static final String DIRECTION_OUTGOING = "OUT";
static final String DIRECTION = "direction";
static final String MAIL_SERVICE = "MailService";
static final String MAIL_SERVICE = "OzgCloud_NachrichtenManager";
static final String CLIENT = "client";
private static final Predicate<Command> IS_CREATE_ATTACHED_ITEM = command -> command.getOrder() == CommandOrder.CREATE_ATTACHED_ITEM;
......
......@@ -262,7 +262,7 @@ class HistorieCommandHandlerTest {
@CsvSource(value = { "RECEIVE_POSTFACH_NACHRICHT;IN" }, delimiter = ';')
void shouldTranslateToReveivedIncomminNachricht(String target, String direction) {
var command = handler.translateOrder(
createCommand("MailService", CommandOrder.CREATE_ATTACHED_ITEM, direction));
createCommand("OzgCloud_NachrichtenManager", CommandOrder.CREATE_ATTACHED_ITEM, direction));
assertThat(command.getOrder().name()).isEqualTo(target);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment