Skip to content

Commit

Permalink
Adjust MetadataEditorIT to updated test resources
Browse files Browse the repository at this point in the history
  • Loading branch information
solth committed Nov 17, 2023
1 parent 650345b commit b060139
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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"));
Expand Down

0 comments on commit b060139

Please sign in to comment.