diff --git a/xta-adapter/src/test/java/de/ozgcloud/eingang/xta/XtaITCase.java b/xta-adapter/src/test/java/de/ozgcloud/eingang/xta/XtaITCase.java index f67c13848f8b8082adab70896514ca9bf37aa9ab..c869365781ca7bc1f0cad31b58f149e421511f8b 100644 --- a/xta-adapter/src/test/java/de/ozgcloud/eingang/xta/XtaITCase.java +++ b/xta-adapter/src/test/java/de/ozgcloud/eingang/xta/XtaITCase.java @@ -14,6 +14,7 @@ import org.mockito.Captor; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.boot.test.mock.mockito.MockBean; +import org.springframework.context.annotation.Bean; import org.springframework.test.context.ActiveProfiles; import de.itvsh.kop.common.test.TestUtils; @@ -24,7 +25,7 @@ import de.itvsh.kop.eingangsadapter.common.formdata.ServiceKonto.PostfachAddress import de.itvsh.kop.eingangsadapter.common.formdata.StringBasedIdentifier; import de.itvsh.kop.eingangsadapter.router.VorgangRemoteService; -@SpringBootTest(classes = Application.class) +@SpringBootTest(classes = { Application.class, ActivateXTARunnerConfig.class }) @ActiveProfiles({ "local", "itcase" }) class XtaITCase { @@ -99,4 +100,12 @@ class XtaITCase { return formDataCaptor.getValue(); } + } + +class ActivateXTARunnerConfig { + @Bean + XtaRunner xtaRunner() { + return new XtaRunner(); + } +} \ No newline at end of file