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
Branches
Tags
No related merge requests found
......@@ -14,6 +14,7 @@ import org.springframework.context.ApplicationEventPublisher;
import de.itvsh.kop.common.test.ITCase;
import de.itvsh.ozg.pluto.command.CommandCreatedEventTestFactory;
import de.itvsh.ozg.pluto.command.CommandTestFactory;
import de.itvsh.ozg.pluto.files.FileService;
@ITCase
class VorgangEventListenerITCase {
......@@ -26,6 +27,8 @@ class VorgangEventListenerITCase {
@MockBean
private VorgangService service;
@MockBean
private FileService fileService;
@Nested
class TestOnVorgangLoeschen {
......@@ -41,5 +44,6 @@ class VorgangEventListenerITCase {
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