Skip to content
Snippets Groups Projects
Commit 8d37c213 authored by Felix Reichenbach's avatar Felix Reichenbach
Browse files

OZG-7515 code review comment

parent cba60cb0
Branches
Tags
1 merge request!11Ozg 7515 migrate patch item command
......@@ -87,13 +87,13 @@ class M014_AddItemNameBescheidToPatchAttachedItemCommandITCase {
}
private Document savePatchAttachedItemSubCommand(ObjectId id) {
Map<String, Object> itemBody = Map.of(PARENT_ID_FIELD, id.toString());
var itemBody = Map.<String, Object>of(PARENT_ID_FIELD, id.toString());
var command = CommandDocumentTestFactory.createWithOrderAndBody(PATCH_ATTACHED_ITEM_ORDER, itemBody);
return migrationDbTestUtils.saveCommand(command);
}
private Document saveOtherSubCommand(ObjectId id) {
Map<String, Object> itemBody = Map.of(PARENT_ID_FIELD, id.toString());
var itemBody = Map.<String, Object>of(PARENT_ID_FIELD, id.toString());
var command = CommandDocumentTestFactory.createWithBody(itemBody);
return migrationDbTestUtils.saveCommand(command);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment