aboutsummaryrefslogtreecommitdiff
path: root/modules/authmodule-eIDAS-v2/src/test
diff options
context:
space:
mode:
authorThomas <>2023-06-07 08:58:57 +0200
committerThomas <>2023-06-07 08:58:57 +0200
commit11520da12531f7484bc716f6c6284f65d4e5c201 (patch)
tree82db4cf22a40b6b2130974b08ecfae1f24bbcc6b /modules/authmodule-eIDAS-v2/src/test
parenta2b1df739eefaa4babd7f67f905a18127135b94d (diff)
downloadNational_eIDAS_Gateway-11520da12531f7484bc716f6c6284f65d4e5c201.tar.gz
National_eIDAS_Gateway-11520da12531f7484bc716f6c6284f65d4e5c201.tar.bz2
National_eIDAS_Gateway-11520da12531f7484bc716f6c6284f65d4e5c201.zip
feat(ernp): switch to new ERnP REST API v2.0.3(2023) that implements "Meldegesetznovelle 2023)
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.java1
-rw-r--r--modules/authmodule-eIDAS-v2/src/test/resources/data/ernp/ernp_handbook_example.json40
2 files changed, 22 insertions, 19 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 c44fda55..19476f9a 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
@@ -119,6 +119,7 @@ public class ErnpRestClientProductionTest {
}
@Test
+ @Ignore
@SneakyThrows
public void searchWithMdsElga() {
final String personalIdentifierFirst = "7cEYWithDEElementsasdfsafsaf4CDVzNT4E7cjkU4VqForjUnit";
diff --git a/modules/authmodule-eIDAS-v2/src/test/resources/data/ernp/ernp_handbook_example.json b/modules/authmodule-eIDAS-v2/src/test/resources/data/ernp/ernp_handbook_example.json
index f4485ff7..05cd8afe 100644
--- a/modules/authmodule-eIDAS-v2/src/test/resources/data/ernp/ernp_handbook_example.json
+++ b/modules/authmodule-eIDAS-v2/src/test/resources/data/ernp/ernp_handbook_example.json
@@ -2,25 +2,27 @@
"person": [
{
"type": "Person",
- "anschrift": {
- "type": "AnschriftInland",
- "adressstatus": "XXXXXXXXX",
- "codes": {
- "gemeindekennziffer": "09988",
- "strassenkennziffer": "T80001"
- },
- "entityId": 33069800000171092,
- "gemeinde": "Testgemeinde",
- "gueltigAb": "2011-09-06T11:23:55.306+02:00",
- "hausnummer": "99",
- "postleitzahl": "0077",
- "postort": "Testpostort 77 mit maximalmögl. Längen",
- "staat": {
- "isoCode3": "AUT",
- "name": "Österreich"
- },
- "strasse": "Testgasse"
- },
+ "anschrift": [
+ {
+ "type": "AnschriftInland",
+ "adressstatus": "XXXXXXXXX",
+ "codes": {
+ "gemeindekennziffer": "09988",
+ "strassenkennziffer": "T80001"
+ },
+ "entityId": 33069800000171092,
+ "gemeinde": "Testgemeinde",
+ "gueltigAb": "2011-09-06T11:23:55.306+02:00",
+ "hausnummer": "99",
+ "postleitzahl": "0077",
+ "postort": "Testpostort 77 mit maximalmögl. Längen",
+ "staat": {
+ "isoCode3": "AUT",
+ "name": "Österreich"
+ },
+ "strasse": "Testgasse"
+ }
+ ],
"entityId": 33069800000171080,
"gueltigAb": "2011-09-06T11:23:55.306+02:00",
"letzteOperation": {