From 650345b152b7a517a936097705a3f8de36e3573e Mon Sep 17 00:00:00 2001 From: Arved Solth Date: Fri, 17 Nov 2023 11:03:41 +0100 Subject: [PATCH] Remove redundant second DigitalCollection metadata value from test --- .../production/services/command/KitodoScriptServiceIT.java | 3 +-- Kitodo/src/test/resources/metadata/4/meta.xml | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Kitodo/src/test/java/org/kitodo/production/services/command/KitodoScriptServiceIT.java b/Kitodo/src/test/java/org/kitodo/production/services/command/KitodoScriptServiceIT.java index 049f5bc1930..fd3d0d0902b 100644 --- a/Kitodo/src/test/java/org/kitodo/production/services/command/KitodoScriptServiceIT.java +++ b/Kitodo/src/test/java/org/kitodo/production/services/command/KitodoScriptServiceIT.java @@ -366,8 +366,7 @@ public void shouldCopyMultipleDataToChildren() throws Exception { backupHierarchieFiles(); String metadataKey = "DigitalCollection"; HashMap metadataSearchMap = new HashMap<>(); - metadataSearchMap.put(metadataKey,"Kollektion1"); - metadataSearchMap.put(metadataKey,"Kollektion2"); + metadataSearchMap.put(metadataKey, "Kollektion2"); final List processByMetadata = ServiceManager.getProcessService().findByMetadata(metadataSearchMap); Assert.assertEquals("should not contain metadata beforehand", 1, processByMetadata.size() ); diff --git a/Kitodo/src/test/resources/metadata/4/meta.xml b/Kitodo/src/test/resources/metadata/4/meta.xml index 0240d7a40f5..adeb07d1a41 100644 --- a/Kitodo/src/test/resources/metadata/4/meta.xml +++ b/Kitodo/src/test/resources/metadata/4/meta.xml @@ -21,7 +21,6 @@ Second process Proc - Kollektion1 Kollektion2 Second