aboutsummaryrefslogtreecommitdiff
path: root/modules/authmodule-eIDAS-v2/src
diff options
context:
space:
mode:
authorThomas <>2023-02-28 06:54:27 +0100
committerThomas <>2023-02-28 06:54:27 +0100
commitabef7bd701c780bab307de10c2e27a3b2d187198 (patch)
tree3438b9159e8f1be408299a6fa1c34d1d91b440d0 /modules/authmodule-eIDAS-v2/src
parent621a3ede26276b353941a66a24f625941fc01597 (diff)
downloadNational_eIDAS_Gateway-abef7bd701c780bab307de10c2e27a3b2d187198.tar.gz
National_eIDAS_Gateway-abef7bd701c780bab307de10c2e27a3b2d187198.tar.bz2
National_eIDAS_Gateway-abef7bd701c780bab307de10c2e27a3b2d187198.zip
test(ernp): check some more elements on ERnP Update request
Diffstat (limited to 'modules/authmodule-eIDAS-v2/src')
-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"
}