RED-3894 - Allow the user to define a page range for imported redactions
- fix dependency issues
This commit is contained in:
parent
ecbdf86f45
commit
61c60b30c4
@ -217,7 +217,7 @@ public abstract class AbstractPersistenceServerServiceTest {
|
||||
var untouchedObjectId = StorageIdUtils.getStorageId(d.getDossierId(), d.getFileId(), FileType.ORIGIN);
|
||||
|
||||
return new ByteContentDocument(IOUtils.toByteArray(storageService.getObject(untouchedObjectId)
|
||||
.getInputStream()));
|
||||
.getInputStream()), null);
|
||||
});
|
||||
when(pdfTronRedactionClient.redactionPreview(Mockito.any())).thenAnswer((answer) -> {
|
||||
Object[] args = answer.getArguments();
|
||||
@ -225,7 +225,7 @@ public abstract class AbstractPersistenceServerServiceTest {
|
||||
var untouchedObjectId = StorageIdUtils.getStorageId(d.getDossierId(), d.getFileId(), FileType.ORIGIN);
|
||||
|
||||
return new ByteContentDocument(IOUtils.toByteArray(storageService.getObject(untouchedObjectId)
|
||||
.getInputStream()));
|
||||
.getInputStream()), null);
|
||||
});
|
||||
when(pdfTronRedactionClient.redactionPreviewDiff(Mockito.any())).thenAnswer((answer) -> {
|
||||
Object[] args = answer.getArguments();
|
||||
@ -233,7 +233,7 @@ public abstract class AbstractPersistenceServerServiceTest {
|
||||
var untouchedObjectId = StorageIdUtils.getStorageId(d.getDossierId(), d.getFileId(), FileType.ORIGIN);
|
||||
|
||||
return new ByteContentDocument(IOUtils.toByteArray(storageService.getObject(untouchedObjectId)
|
||||
.getInputStream()));
|
||||
.getInputStream()), null);
|
||||
});
|
||||
|
||||
when(redactionClient.sections(Mockito.any())).thenReturn(new RedactionResult());
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user