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

OZG-3665 fix itcase

parent b0eabdd0
No related branches found
No related tags found
No related merge requests found
...@@ -14,6 +14,7 @@ import org.mockito.Captor; ...@@ -14,6 +14,7 @@ import org.mockito.Captor;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest; import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.test.mock.mockito.MockBean; import org.springframework.boot.test.mock.mockito.MockBean;
import org.springframework.context.annotation.Bean;
import org.springframework.test.context.ActiveProfiles; import org.springframework.test.context.ActiveProfiles;
import de.itvsh.kop.common.test.TestUtils; import de.itvsh.kop.common.test.TestUtils;
...@@ -24,7 +25,7 @@ import de.itvsh.kop.eingangsadapter.common.formdata.ServiceKonto.PostfachAddress ...@@ -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.common.formdata.StringBasedIdentifier;
import de.itvsh.kop.eingangsadapter.router.VorgangRemoteService; import de.itvsh.kop.eingangsadapter.router.VorgangRemoteService;
@SpringBootTest(classes = Application.class) @SpringBootTest(classes = { Application.class, ActivateXTARunnerConfig.class })
@ActiveProfiles({ "local", "itcase" }) @ActiveProfiles({ "local", "itcase" })
class XtaITCase { class XtaITCase {
...@@ -99,4 +100,12 @@ class XtaITCase { ...@@ -99,4 +100,12 @@ class XtaITCase {
return formDataCaptor.getValue(); return formDataCaptor.getValue();
} }
}
class ActivateXTARunnerConfig {
@Bean
XtaRunner xtaRunner() {
return new XtaRunner();
}
} }
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment