aboutsummaryrefslogtreecommitdiff
path: root/modules/authmodule-eIDAS-v2/src/test
diff options
context:
space:
mode:
authorThomas <>2023-03-22 11:19:10 +0100
committerThomas <>2023-03-22 11:19:10 +0100
commitbebb8669ab6737fe852b0c1bf4b98d4a22573537 (patch)
treeeb239bc7e6a395c78b1e5c5e1c39c7b0d640759d /modules/authmodule-eIDAS-v2/src/test
parente9982e2c614447a4a5aceac4deaa303c97edb57f (diff)
downloadNational_eIDAS_Gateway-bebb8669ab6737fe852b0c1bf4b98d4a22573537.tar.gz
National_eIDAS_Gateway-bebb8669ab6737fe852b0c1bf4b98d4a22573537.tar.bz2
National_eIDAS_Gateway-bebb8669ab6737fe852b0c1bf4b98d4a22573537.zip
chore(core): update third-party libs
Inlcude Spring 5.3.26 to fix CVE-2023-20859, CVE-2023-20861, CVE-2023-20860
Diffstat (limited to 'modules/authmodule-eIDAS-v2/src/test')
-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() {