diff options
Diffstat (limited to 'src/test/java/at/gv')
-rw-r--r-- | src/test/java/at/gv/egiz/moazs/App2MzsServiceTest.java | 32 |
1 files changed, 19 insertions, 13 deletions
diff --git a/src/test/java/at/gv/egiz/moazs/App2MzsServiceTest.java b/src/test/java/at/gv/egiz/moazs/App2MzsServiceTest.java index cdb693a..f13a4dd 100644 --- a/src/test/java/at/gv/egiz/moazs/App2MzsServiceTest.java +++ b/src/test/java/at/gv/egiz/moazs/App2MzsServiceTest.java @@ -74,22 +74,28 @@ public class App2MzsServiceTest { } @Test - public void rejectFormallyIncorrectDeliveryRequest() throws IOException, InterruptedException { - var response = sendDeliveryRequestFile("formallyIncorrectDeliveryRequest.soap"); + public void rejectBothProfileAndCorporateBody() throws IOException, InterruptedException { + var response = sendDeliveryRequestFile("profileAndCorporateBody.soap"); assertEquals(500, response.statusCode()); } - @Test - public void rejectRequestWithoutAppDeliveryID() throws IOException, InterruptedException { - var response = sendDeliveryRequestFile("missingAppDeliveryId.soap"); - assertEquals(500, response.statusCode()); - } - - @Test - public void rejectRequestWithoutMetaData() throws IOException, InterruptedException { - var response = sendDeliveryRequestFile("missingMetaData.soap"); - assertEquals(500, response.statusCode()); - } +// @Test +// public void rejectFormallyIncorrectDeliveryRequest() throws IOException, InterruptedException { +// var response = sendDeliveryRequestFile("formallyIncorrectDeliveryRequest.soap"); +// assertEquals(500, response.statusCode()); +// } +// +// @Test +// public void rejectRequestWithoutAppDeliveryID() throws IOException, InterruptedException { +// var response = sendDeliveryRequestFile("missingAppDeliveryId.soap"); +// assertEquals(500, response.statusCode()); +// } +// +// @Test +// public void rejectRequestWithoutMetaData() throws IOException, InterruptedException { +// var response = sendDeliveryRequestFile("missingMetaData.soap"); +// assertEquals(500, response.statusCode()); +// } private HttpResponse<String> sendDeliveryRequestFile(String fileName) throws IOException, InterruptedException { |