From c8bc071c600e55fe3ce506af85d9bf1480acc3e0 Mon Sep 17 00:00:00 2001 From: Thomas <> Date: Fri, 7 Oct 2022 18:27:29 +0200 Subject: test(core): fix full start-up test, because mocked ZMR response missing one element --- .../eidas/specific/connector/test/FullStartUpAndProcessTest.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ms_specific_connector') 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); -- cgit v1.2.3