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

OZG-3625 mock service to fix test

parent 4aaebe2d
No related branches found
No related tags found
No related merge requests found
...@@ -14,6 +14,7 @@ import org.springframework.context.ApplicationEventPublisher; ...@@ -14,6 +14,7 @@ import org.springframework.context.ApplicationEventPublisher;
import de.itvsh.kop.common.test.ITCase; import de.itvsh.kop.common.test.ITCase;
import de.itvsh.ozg.pluto.command.CommandCreatedEventTestFactory; import de.itvsh.ozg.pluto.command.CommandCreatedEventTestFactory;
import de.itvsh.ozg.pluto.command.CommandTestFactory; import de.itvsh.ozg.pluto.command.CommandTestFactory;
import de.itvsh.ozg.pluto.files.FileService;
@ITCase @ITCase
class VorgangEventListenerITCase { class VorgangEventListenerITCase {
...@@ -26,6 +27,8 @@ class VorgangEventListenerITCase { ...@@ -26,6 +27,8 @@ class VorgangEventListenerITCase {
@MockBean @MockBean
private VorgangService service; private VorgangService service;
@MockBean
private FileService fileService;
@Nested @Nested
class TestOnVorgangLoeschen { class TestOnVorgangLoeschen {
...@@ -41,5 +44,6 @@ class VorgangEventListenerITCase { ...@@ -41,5 +44,6 @@ class VorgangEventListenerITCase {
verify(service, timeout(500)).deleteVorgang(VorgangTestFactory.ID); verify(service, timeout(500)).deleteVorgang(VorgangTestFactory.ID);
} }
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment