aboutsummaryrefslogtreecommitdiff
path: root/modules/authmodule-eIDAS-v2/src/test/java
diff options
context:
space:
mode:
Diffstat (limited to 'modules/authmodule-eIDAS-v2/src/test/java')
-rw-r--r--modules/authmodule-eIDAS-v2/src/test/java/at/asitplus/eidas/specific/modules/auth/eidas/v2/test/clients/ErnpRestClientProductionTest.java14
1 files changed, 7 insertions, 7 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() {