diff --git a/Kitodo/src/test/java/org/kitodo/production/forms/IndexingFormIT.java b/Kitodo/src/test/java/org/kitodo/production/forms/IndexingFormIT.java index ea368bd4817..fa2031d52d1 100644 --- a/Kitodo/src/test/java/org/kitodo/production/forms/IndexingFormIT.java +++ b/Kitodo/src/test/java/org/kitodo/production/forms/IndexingFormIT.java @@ -64,7 +64,7 @@ public void indexingAll() throws Exception { process.setProject(project); ServiceManager.getProcessService().save(process); - indexingForm.countDatabaseObjects(); + IndexingForm.setNumberOfDatabaseObjects(); Process processOne = ServiceManager.getProcessService().findById(1); Assert.assertNull("process should not be found in index", processOne.getTitle());