Skip to content
Snippets Groups Projects
Commit 44c83ea1 authored by Tobias Bruns's avatar Tobias Bruns
Browse files

OZG-7689 remove test - relocate it to procecssor manager

parent e96c0017
Branches
Tags
1 merge request!16Ozg 7689 move status change event
......@@ -41,7 +41,6 @@ import org.springframework.test.context.bean.override.mockito.MockitoSpyBean;
import de.ozgcloud.apilib.vorgang.OzgCloudVorgangService;
import de.ozgcloud.command.Command;
import de.ozgcloud.command.CommandCreatedEvent;
import de.ozgcloud.command.VorgangCreatedEvent;
import de.ozgcloud.common.test.ITCase;
import de.ozgcloud.notification.antragsteller.AntragstellerNotificationEventListener;
import de.ozgcloud.notification.user.UserNotificationEventListener;
......@@ -104,24 +103,6 @@ class VorgangEventListenerITCase {
}
@Nested
class TestOnVorgangCreated {
@BeforeEach
void init() {
doNothing().when(antragstellerNotificationEventListener).onVorgangCreated(any());
doNothing().when(userNotificationEventListener).onVorgangCreated(any());
}
@Test
void shouldCallProcessorService() {
publisher.publishEvent(new VorgangCreatedEvent("id"));
verify(vorgangProcessorService, timeout(500)).processVorgang(any());
}
}
@Nested
class TestOnSetAktenzeichen {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment