Skip to content
Snippets Groups Projects
Commit a080d478 authored by OZGCloud's avatar OZGCloud
Browse files

OZG-1523 fixed more tests

parent f36537e0
No related branches found
No related tags found
No related merge requests found
...@@ -81,6 +81,8 @@ class KommentarRemoteServiceTest { ...@@ -81,6 +81,8 @@ class KommentarRemoteServiceTest {
@BeforeEach @BeforeEach
void mockStub() { void mockStub() {
when(vorgangAttachedItemServiceStub.getById(any())).thenReturn(response); when(vorgangAttachedItemServiceStub.getById(any())).thenReturn(response);
when(grpcObjectMapper.mapFromGrpc(any())).thenReturn(KommentarTestFactory.createAsMap());
when(mapper.fromItemMap(any())).thenReturn(KommentarTestFactory.create());
} }
@Test @Test
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment