Skip to content
Snippets Groups Projects
Commit abf75e10 authored by OZG-Cloud Team's avatar OZG-Cloud Team
Browse files

OZG-6748 Cleanup VorgangServiceTest

parent 2688f202
Branches
Tags
No related merge requests found
......@@ -451,7 +451,7 @@ class VorgangRemoteServiceTest {
void mock() {
doReturn(response).when(vorgangCreator).waitUntilFutureToComplete(any(), any());
when(incomingFile.getContentStream()).thenReturn(inputStream);
doReturn(request).when(vorgangCreator).buildMetaDataRequest(incomingFile);
doReturn(request).when(vorgangCreator).buildMetaDataRequest(any());
}
@DisplayName("should call get content stream")
......
......@@ -147,10 +147,6 @@ class VorgangServiceTest {
private final FormData formData = FormDataTestFactory.create();
@BeforeEach
void mock() {
}
@DisplayName("should return attachments and representations")
@Test
void shouldReturnAttachmentsAndRepresentations() {
......@@ -165,7 +161,7 @@ class VorgangServiceTest {
class TestDeleteIncomingFile {
@Mock
Path path;
private Path path;
@DisplayName("should call deleteIfExists")
@Test
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment