From 7ba8c50b1d673b103375e30159945fcecdf52cee Mon Sep 17 00:00:00 2001 From: BartChris Date: Tue, 30 Apr 2024 12:18:40 +0200 Subject: [PATCH] revert change to newspaper generation test --- .../NewspaperProcessesGeneratorIT.java | 2 +- Kitodo/src/test/resources/metadata/8/meta.xml | 91 +++++++++++++++++++ 2 files changed, 92 insertions(+), 1 deletion(-) create mode 100644 Kitodo/src/test/resources/metadata/8/meta.xml diff --git a/Kitodo/src/test/java/org/kitodo/production/process/NewspaperProcessesGeneratorIT.java b/Kitodo/src/test/java/org/kitodo/production/process/NewspaperProcessesGeneratorIT.java index a75e4779549..0f128dba220 100644 --- a/Kitodo/src/test/java/org/kitodo/production/process/NewspaperProcessesGeneratorIT.java +++ b/Kitodo/src/test/java/org/kitodo/production/process/NewspaperProcessesGeneratorIT.java @@ -218,7 +218,7 @@ public void shouldNotGenerateDuplicateProcessTitle() throws DAOException, DataEx Course course = NewspaperCourse.getDuplicatedCourse(); course.splitInto(Granularity.DAYS); GeneratesNewspaperProcessesThread generatesNewspaperProcessesThread = new GeneratesNewspaperProcessesThread(completeEdition, course); - generatesNewspaperProcessesThread.start(); + generatesNewspaperProcessesThread.run(); ProcessDTO byId = ServiceManager.getProcessService().findById(11); Assert.assertNull("Process should not have been created", byId.getTitle()); diff --git a/Kitodo/src/test/resources/metadata/8/meta.xml b/Kitodo/src/test/resources/metadata/8/meta.xml new file mode 100644 index 00000000000..f52cd863f77 --- /dev/null +++ b/Kitodo/src/test/resources/metadata/8/meta.xml @@ -0,0 +1,91 @@ + + + + 8 + + + + + + Monograph + VD18 11358211 + Lit.Graec.B.2615 + gre + [11] Bl., 825, [118] Bl. + lat + 1087020662 + 1713 + Dulssecker + Argentorati + Editio Postrema curante Joh. Henrico Lederlino + 11111 + + http://d-nb.info/gnd/100331181 + Johannes + gnd + Scheffer, Johannes + 100331181 + 13970907X + Komm. + Scheffer + + + Joachim + 1231853166 + Kühn, Joachim + Kühn + Komm. + + + Lederlin, Jean Henri + http://d-nb.info/gnd/115755470 + gnd + 115755470 + 077449827 + Jean Henri + Lederlin + Hrsg. + + + Aelianus + 119160285 + Aelianus, Claudius + 079955614 + gnd + Claudius + http://d-nb.info/gnd/119160285 + + + Justus + Vultejus, Justus + gnd + Vultejus + http://d-nb.info/gnd/124906761 + Übers. + 367774283 + 124906761 + + + + + + + + + + + Ki. tolianu dophistu + + + + + + + + + + + + + +