Skip to content

Commit

Permalink
Remove redundant second DigitalCollection metadata value from test
Browse files Browse the repository at this point in the history
  • Loading branch information
solth committed Nov 17, 2023
1 parent e2403b6 commit 650345b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -366,8 +366,7 @@ public void shouldCopyMultipleDataToChildren() throws Exception {
backupHierarchieFiles();
String metadataKey = "DigitalCollection";
HashMap<String, String> metadataSearchMap = new HashMap<>();
metadataSearchMap.put(metadataKey,"Kollektion1");
metadataSearchMap.put(metadataKey,"Kollektion2");
metadataSearchMap.put(metadataKey, "Kollektion2");

final List<ProcessDTO> processByMetadata = ServiceManager.getProcessService().findByMetadata(metadataSearchMap);
Assert.assertEquals("should not contain metadata beforehand", 1, processByMetadata.size() );
Expand Down
1 change: 0 additions & 1 deletion Kitodo/src/test/resources/metadata/4/meta.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
<kitodo:kitodo>
<kitodo:metadata name="TitleDocMain">Second process</kitodo:metadata>
<kitodo:metadata name="TSL_ATS">Proc</kitodo:metadata>
<kitodo:metadata name="DigitalCollection">Kollektion1</kitodo:metadata>
<kitodo:metadata name="DigitalCollection">Kollektion2</kitodo:metadata>
<kitodo:metadata name="TitleDocMainShort">Second</kitodo:metadata>
</kitodo:kitodo>
Expand Down

0 comments on commit 650345b

Please sign in to comment.