From bebb8669ab6737fe852b0c1bf4b98d4a22573537 Mon Sep 17 00:00:00 2001 From: Thomas <> Date: Wed, 22 Mar 2023 11:19:10 +0100 Subject: chore(core): update third-party libs Inlcude Spring 5.3.26 to fix CVE-2023-20859, CVE-2023-20861, CVE-2023-20860 --- .../v2/test/clients/ErnpRestClientProductionTest.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'modules/authmodule-eIDAS-v2/src/test/java') 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() { -- cgit v1.2.3