diff options
-rw-r--r-- | modules/authmodule-eIDAS-v2/src/test/java/at/asitplus/eidas/specific/modules/auth/eidas/v2/test/clients/ErnpRestClientProductionTest.java | 14 | ||||
-rw-r--r-- | pom.xml | 2 |
2 files changed, 8 insertions, 8 deletions
diff --git a/modules/authmodule-eIDAS-v2/src/test/java/at/asitplus/eidas/specific/modules/auth/eidas/v2/test/clients/ErnpRestClientProductionTest.java b/modules/authmodule-eIDAS-v2/src/test/java/at/asitplus/eidas/specific/modules/auth/eidas/v2/test/clients/ErnpRestClientProductionTest.java index 091f72a2..c44fda55 100644 --- a/modules/authmodule-eIDAS-v2/src/test/java/at/asitplus/eidas/specific/modules/auth/eidas/v2/test/clients/ErnpRestClientProductionTest.java +++ b/modules/authmodule-eIDAS-v2/src/test/java/at/asitplus/eidas/specific/modules/auth/eidas/v2/test/clients/ErnpRestClientProductionTest.java @@ -465,6 +465,7 @@ public class ErnpRestClientProductionTest { } @Test + @Ignore @SneakyThrows public void personWasWrongClosedByGovernment() { final String personalIdentifierFirst = "eidasmatcherclosed19770707_01"; @@ -483,7 +484,7 @@ public class ErnpRestClientProductionTest { // validate state assertNotNull("no ERnP response", resp); - assertEquals("wrong resp size", 1, resp.getPersonResult().size()); + assertEquals("wrong resp size", 0, resp.getPersonResult().size()); //checkErnpResult(resp.getPersonResult().get(0), eidasDataFirst, 1); @@ -522,16 +523,15 @@ public class ErnpRestClientProductionTest { // validate state assertNotNull("no ERnP response", respPersonal); - assertEquals("wrong resp size", 1, respPersonal.getPersonResult().size()); - //checkErnpResult(resp.getPersonResult().get(0), eidasDataFirst, 1); - - + assertEquals("wrong resp size", 0, respPersonal.getPersonResult().size()); + assertFalse("Person was closed. add ERnP should not be allowed", + respPersonal.isAllowErnpEntryByUser()); + assertNotNull("no ERnP response", respMds); assertEquals("wrong resp size", 1, respMds.getPersonResult().size()); } - - + @Test @SneakyThrows public void addRandomErnpEntry() { @@ -27,7 +27,7 @@ <eaaf-core.version>1.3.13</eaaf-core.version> <spring-boot-starter-web.version>2.7.9</spring-boot-starter-web.version> <spring-boot-admin-starter-client.version>2.7.10</spring-boot-admin-starter-client.version> - <org.springframework.version>5.3.25</org.springframework.version> + <org.springframework.version>5.3.26</org.springframework.version> <org.thymeleaf-spring5.version>3.0.15.RELEASE</org.thymeleaf-spring5.version> <apache.cxf.version>3.5.5</apache.cxf.version> |