[TLC-249] Integration tests, keep GET handling in controller

This commit is contained in:
Kim Shepherd
2022-09-01 09:04:36 +12:00
parent 3373cf3330
commit 4140470f9d
6 changed files with 120 additions and 30 deletions

View File

@@ -81,8 +81,6 @@ public class InstallItemServiceImpl implements InstallItemService {
} else {
// This will register the handle but a pending DOI won't be compatible and so won't be registered
identifierService.register(c, item, suppliedHandle);
// Continue to register just a DOI
identifierService.register(c, item, DOI.class, filters.get(DOI.class));
}
} catch (IdentifierException e) {
throw new RuntimeException("Can't create an Identifier!", e);