aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/authmodule-eIDAS-v2/src/test/java/at/asitplus/eidas/specific/modules/auth/eidas/v2/test/clients/ErnpRestClientTest.java2
-rw-r--r--modules/authmodule-eIDAS-v2/src/test/resources/data/ernp/6_kitt_search_latest_resp.json4
2 files changed, 5 insertions, 1 deletions
diff --git a/modules/authmodule-eIDAS-v2/src/test/java/at/asitplus/eidas/specific/modules/auth/eidas/v2/test/clients/ErnpRestClientTest.java b/modules/authmodule-eIDAS-v2/src/test/java/at/asitplus/eidas/specific/modules/auth/eidas/v2/test/clients/ErnpRestClientTest.java
index 7b2e2b61..420bfaf0 100644
--- a/modules/authmodule-eIDAS-v2/src/test/java/at/asitplus/eidas/specific/modules/auth/eidas/v2/test/clients/ErnpRestClientTest.java
+++ b/modules/authmodule-eIDAS-v2/src/test/java/at/asitplus/eidas/specific/modules/auth/eidas/v2/test/clients/ErnpRestClientTest.java
@@ -1125,6 +1125,8 @@ public class ErnpRestClientTest {
checkPersonDateOfBirth(personKitt, eidasDataFirst.getDateOfBirth());
checkJsonElement(personKitt, "geburtsbundesland", "Burgenland");
+ checkJsonElement(personKitt, "geschlecht", "Männlich");
+ checkJsonElement(personKitt, "geburtsort", "nirgendwoLand");
assertFalse("find 'aendern' element", reqJsonKitt.has("anlegen"));
assertFalse("find 'aendern' element", personChange.has("eidas"));
diff --git a/modules/authmodule-eIDAS-v2/src/test/resources/data/ernp/6_kitt_search_latest_resp.json b/modules/authmodule-eIDAS-v2/src/test/resources/data/ernp/6_kitt_search_latest_resp.json
index bb2efcb1..6096fafd 100644
--- a/modules/authmodule-eIDAS-v2/src/test/resources/data/ernp/6_kitt_search_latest_resp.json
+++ b/modules/authmodule-eIDAS-v2/src/test/resources/data/ernp/6_kitt_search_latest_resp.json
@@ -55,7 +55,9 @@
"geprueft": false,
"gueltigAb": "2022-03-03T11:07:28.885+01:00",
"vorname": "dUeYzUFg",
- "geburtsbundesland" : "Burgenland"
+ "geburtsbundesland" : "Burgenland",
+ "geschlecht": "Männlich",
+ "geburtsort": "nirgendwoLand"
},
"version": "2022-03-03T11:07:28.885+01:00"
}