From b06013912943817d0fff4396bf9fa84ef5024d21 Mon Sep 17 00:00:00 2001 From: Arved Solth Date: Fri, 17 Nov 2023 11:17:04 +0100 Subject: [PATCH] Adjust MetadataEditorIT to updated test resources --- .../java/org/kitodo/production/metadata/MetadataEditorIT.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Kitodo/src/test/java/org/kitodo/production/metadata/MetadataEditorIT.java b/Kitodo/src/test/java/org/kitodo/production/metadata/MetadataEditorIT.java index e539bb91b53..1288b9d567e 100644 --- a/Kitodo/src/test/java/org/kitodo/production/metadata/MetadataEditorIT.java +++ b/Kitodo/src/test/java/org/kitodo/production/metadata/MetadataEditorIT.java @@ -87,7 +87,7 @@ public void shouldAddLink() throws Exception { MetadataEditor.addLink(ServiceManager.getProcessService().getById(4), "0", 7); assertTrue("The link was not added correctly!", - isInternalMetsLink(FileUtils.readLines(metaXmlFile, StandardCharsets.UTF_8).get(37), 7)); + isInternalMetsLink(FileUtils.readLines(metaXmlFile, StandardCharsets.UTF_8).get(36), 7)); FileUtils.writeLines(metaXmlFile, StandardCharsets.UTF_8.toString(), metaXmlContentBefore); FileUtils.deleteQuietly(new File("src/test/resources/metadata/4/meta.xml.1"));