diff options
author | Thomas <> | 2022-10-07 18:27:29 +0200 |
---|---|---|
committer | Thomas <> | 2022-10-07 18:27:29 +0200 |
commit | c8bc071c600e55fe3ce506af85d9bf1480acc3e0 (patch) | |
tree | d079f270d28c5cacad9744610d522f5a9b90ef16 /ms_specific_connector | |
parent | cebdf02e844e5c64f8118c863cd79f2b91c20dc2 (diff) | |
download | National_eIDAS_Gateway-c8bc071c600e55fe3ce506af85d9bf1480acc3e0.tar.gz National_eIDAS_Gateway-c8bc071c600e55fe3ce506af85d9bf1480acc3e0.tar.bz2 National_eIDAS_Gateway-c8bc071c600e55fe3ce506af85d9bf1480acc3e0.zip |
test(core): fix full start-up test, because mocked ZMR response missing one element
Diffstat (limited to 'ms_specific_connector')
-rw-r--r-- | ms_specific_connector/src/test/java/at/asitplus/eidas/specific/connector/test/FullStartUpAndProcessTest.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ms_specific_connector/src/test/java/at/asitplus/eidas/specific/connector/test/FullStartUpAndProcessTest.java b/ms_specific_connector/src/test/java/at/asitplus/eidas/specific/connector/test/FullStartUpAndProcessTest.java index 9f62d41e..e5fea3b3 100644 --- a/ms_specific_connector/src/test/java/at/asitplus/eidas/specific/connector/test/FullStartUpAndProcessTest.java +++ b/ms_specific_connector/src/test/java/at/asitplus/eidas/specific/connector/test/FullStartUpAndProcessTest.java @@ -64,6 +64,7 @@ import at.asitplus.eidas.specific.connector.test.saml2.Pvp2SProfileEndPointTest; import at.asitplus.eidas.specific.modules.auth.eidas.v2.EidasSignalServlet; import at.asitplus.eidas.specific.modules.core.eidas.EidasConstants; import at.asitplus.eidas.specific.modules.core.eidas.service.EidasAttributeRegistry; +import at.gv.bmi.namespace.zmr_su.base._20040201.EntityErgebnisReferenzType; import at.gv.bmi.namespace.zmr_su.base._20040201.ResponseType; import at.gv.bmi.namespace.zmr_su.base._20040201.WorkflowInfoServer; import at.gv.bmi.namespace.zmr_su.base._20040201_.ServicePort; @@ -482,6 +483,8 @@ public class FullStartUpAndProcessTest { personInfoObj.setPersonendaten(personDataObj); personDataObj.getPersonErgebnis().add(personInfo); + personInfo.setEntityErgebnisReferenz(new EntityErgebnisReferenzType()); + EidasIdentitaetErgebnisType eidasPersonalIdentifier = new EidasIdentitaetErgebnisType(); personInfo.getEidasIdentitaet().add(eidasPersonalIdentifier); eidasPersonalIdentifier.setEidasWert(pseudonym); |