Skip to content
Snippets Groups Projects
Commit 57ecf2b5 authored by OZGCloud's avatar OZGCloud
Browse files

OZG-5917 adjust ITCase

parent a0799b4d
Branches
Tags
No related merge requests found
......@@ -71,13 +71,14 @@ import de.ozgcloud.vorgang.files.OzgFile;
import io.grpc.stub.StreamObserver;
@SpringBootTest(classes = { VorgangManagerServerApplication.class, OsiPostfachProperties.class }, properties = {
"grpc.server.inProcessName=test",
"grpc.server.port=-1",
"grpc.server.in-process-name=postfachitcase",
"ozgcloud.osi.postfach.proxyapi.url=http://localhost/ApiProxy/V1/Message",
"ozgcloud.osi.postfach.proxyapi.key=1234",
"ozgcloud.osi.postfach.proxyapi.realm=test-realm",
"ozgcloud.osi.postfach.notification.mail-from=test@local.host",
"grpc.client.ozgcloud-command-manager.address=in-process:test",
"grpc.client.ozgcloud-command-manager.address=in-process:postfachitcase",
"grpc.client.command-manager.address=in-process:postfachitcase",
})
@WithMockUser
@DataITCase
......@@ -96,8 +97,6 @@ class PostfachMailITCase {
@MockBean
private PolicyService policyService;
private MockRestServiceServer mockServer;
@Mock
private StreamObserver<GrpcFindPostfachMailsResponse> responseObserver;
@Captor
......@@ -108,6 +107,7 @@ class PostfachMailITCase {
@SpyBean
private CommandService commandService;
private MockRestServiceServer mockServer;
@BeforeEach
void prepareDatabase() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment