From 8a3bdc447d4f95daae9e742c3b7920af243f678c Mon Sep 17 00:00:00 2001 From: Thomas <> Date: Mon, 10 Oct 2022 14:52:01 +0200 Subject: test(zmr): remove some specific test-cases from integration tests that have to be started manually --- .../v2/test/clients/ZmrClientProductionTest.java | 53 ---------------------- 1 file changed, 53 deletions(-) diff --git a/modules/authmodule-eIDAS-v2/src/test/java/at/asitplus/eidas/specific/modules/auth/eidas/v2/test/clients/ZmrClientProductionTest.java b/modules/authmodule-eIDAS-v2/src/test/java/at/asitplus/eidas/specific/modules/auth/eidas/v2/test/clients/ZmrClientProductionTest.java index 0e45cb61..b6bdafdc 100644 --- a/modules/authmodule-eIDAS-v2/src/test/java/at/asitplus/eidas/specific/modules/auth/eidas/v2/test/clients/ZmrClientProductionTest.java +++ b/modules/authmodule-eIDAS-v2/src/test/java/at/asitplus/eidas/specific/modules/auth/eidas/v2/test/clients/ZmrClientProductionTest.java @@ -21,7 +21,6 @@ import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import at.asitplus.eidas.specific.modules.auth.eidas.v2.clients.zmr.ZmrSoapClient; import at.asitplus.eidas.specific.modules.auth.eidas.v2.clients.zmr.ZmrSoapClient.ZmrRegisterResult; -import at.asitplus.eidas.specific.modules.auth.eidas.v2.controller.AdresssucheController.AdresssucheOutput; import at.asitplus.eidas.specific.modules.auth.eidas.v2.dao.SimpleEidasData; import at.asitplus.eidas.specific.modules.auth.eidas.v2.exception.EidasSAuthenticationException; import at.asitplus.eidas.specific.modules.auth.eidas.v2.utils.LoggingHandler; @@ -63,59 +62,7 @@ public class ZmrClientProductionTest { rootLogger.setLevel(Level.INFO); } - - @Test - public void searchWithMdsOnlyEidasData() throws EidasSAuthenticationException { - - final ZmrRegisterResult result = client.searchWithMds(null, - "Ingun", "Walch", "1972-12-11", - "IT"); - - assertNotNull("ZMR response", result); - assertNotNull("ZMR processId", result.getProcessId()); - assertNotNull("ZMR personResult", result.getPersonResult()); - assertEquals("personResult size", 1, result.getPersonResult().size()); - - } - @Ignore - @Test - public void searchWithRecidenceEidasData() throws EidasSAuthenticationException { - - AdresssucheOutput addressData = AdresssucheOutput.builder() -// .postleitzahl("1200") -// .street("Wallensteinstraße") -// .number("52") - .postleitzahl("1200") - .street("Wallensteinstraße") - .number("52") - .build(); - - final ZmrRegisterResult result = client.searchWithResidenceData( - null, "Ingun", "Walch", "1972-12-11", "IT", addressData); - - assertNotNull("ZMR response", result); - assertNotNull("ZMR processId", result.getProcessId()); - assertNotNull("ZMR personResult", result.getPersonResult()); - assertEquals("personResult size", 1, result.getPersonResult().size()); - - } - - - @Test - public void searchWithMdsOnly() throws EidasSAuthenticationException { - - final ZmrRegisterResult result = client.searchWithMds(null, - "Thomas", "Lenz", "1982-09-06", - "AT"); - - assertNotNull("ZMR response", result); - assertNotNull("ZMR processId", result.getProcessId()); - assertNotNull("ZMR personResult", result.getPersonResult()); - assertEquals("personResult size", 1, result.getPersonResult().size()); - - } - //@Ignore @Test public void searchWithPersonalIdentifier() throws EidasSAuthenticationException { -- cgit v1.2.3