diff --git a/pluto-server/src/test/java/de/itvsh/ozg/mail/postfach/PostfachMailITCase.java b/pluto-server/src/test/java/de/itvsh/ozg/mail/postfach/PostfachMailITCase.java index 36e57f6c954132d505ddd3e17373c86a3b2929c2..ff9bc09c37f4ebb8d2574dbdb977776ec0fe1b7d 100644 --- a/pluto-server/src/test/java/de/itvsh/ozg/mail/postfach/PostfachMailITCase.java +++ b/pluto-server/src/test/java/de/itvsh/ozg/mail/postfach/PostfachMailITCase.java @@ -64,14 +64,12 @@ import de.itvsh.ozg.pluto.files.FileService; import de.itvsh.ozg.pluto.files.OzgFile; import io.grpc.stub.StreamObserver; -@SpringBootTest( - classes = { PlutoServerApplication.class, OsiPostfachProperties.class }, - properties = { - "kop.osi.postfach.proxyapi.url=http://localhost/ApiProxy/V1/Message", - "kop.osi.postfach.proxyapi.key=1234", - "kop.osi.postfach.proxyapi.realm=test-realm", - "kop.osi.postfach.notification.mail-from=test@local.host" - }) +@SpringBootTest(classes = { PlutoServerApplication.class, OsiPostfachProperties.class }, properties = { + "kop.osi.postfach.proxyapi.url=http://localhost/ApiProxy/V1/Message", + "kop.osi.postfach.proxyapi.key=1234", + "kop.osi.postfach.proxyapi.realm=test-realm", + "kop.osi.postfach.notification.mail-from=test@local.host" +}) @WithMockUser @DataITCase class PostfachMailITCase { @@ -212,7 +210,7 @@ class PostfachMailITCase { } private GrpcSendPostfachMailRequest buildSendPostfachMailRequestWithoutAttachments() { - var grpcPostfachMail = GrpcPostfachMailTestFactory.createBuilder().clearAttachment().clearCreatedAt().clearDirection().build(); + var grpcPostfachMail = GrpcPostfachMailTestFactory.createBuilder().clearId().clearAttachment().clearCreatedAt().clearDirection().build(); return GrpcSendPostfachMailRequestTestFactory.createBuilder().setMail(grpcPostfachMail).build(); }