From abef7bd701c780bab307de10c2e27a3b2d187198 Mon Sep 17 00:00:00 2001 From: Thomas <> Date: Tue, 28 Feb 2023 06:54:27 +0100 Subject: test(ernp): check some more elements on ERnP Update request --- .../modules/auth/eidas/v2/test/clients/ErnpRestClientTest.java | 2 ++ .../src/test/resources/data/ernp/6_kitt_search_latest_resp.json | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'modules') 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" } -- cgit v1.2.3