aboutsummaryrefslogtreecommitdiff
path: root/modules/authmodule-eIDAS-v2
diff options
context:
space:
mode:
Diffstat (limited to 'modules/authmodule-eIDAS-v2')
-rw-r--r--modules/authmodule-eIDAS-v2/src/test/java/at/asitplus/eidas/specific/modules/auth/eidas/v2/test/tasks/AlternativeSearchTaskWithRegisterTest.java22
1 files changed, 11 insertions, 11 deletions
diff --git a/modules/authmodule-eIDAS-v2/src/test/java/at/asitplus/eidas/specific/modules/auth/eidas/v2/test/tasks/AlternativeSearchTaskWithRegisterTest.java b/modules/authmodule-eIDAS-v2/src/test/java/at/asitplus/eidas/specific/modules/auth/eidas/v2/test/tasks/AlternativeSearchTaskWithRegisterTest.java
index 35560284..3e3aff68 100644
--- a/modules/authmodule-eIDAS-v2/src/test/java/at/asitplus/eidas/specific/modules/auth/eidas/v2/test/tasks/AlternativeSearchTaskWithRegisterTest.java
+++ b/modules/authmodule-eIDAS-v2/src/test/java/at/asitplus/eidas/specific/modules/auth/eidas/v2/test/tasks/AlternativeSearchTaskWithRegisterTest.java
@@ -463,7 +463,7 @@ public class AlternativeSearchTaskWithRegisterTest {
.pseudonym(Arrays.asList("7cEYasdfsafsaf4CDVzNT4E7cjkU4VqForjUnit"))
.build()),
Collections.emptyList());
- MatchingTaskUtils.storeIntermediateMatchingResult(pendingReq, matchingState );
+ MatchingTaskUtils.storeIntermediateMatchingResult(pendingReq, matchingState);
//inject alternative eIDAS data
pendingReq.getSessionData(AuthProcessDataWrapper.class).setGenericDataToSession(
@@ -510,11 +510,11 @@ public class AlternativeSearchTaskWithRegisterTest {
assertNotNull("Personensuche KITT req.", zmrReq.getAllValues().get(1).getPersonSuchenRequest());
checkBasicRequestParameters(zmrReq.getAllValues().get(1), ZmrClientTest.PROCESS_TASK_SEARCH,
- new BigInteger("367100000000079"), "jUnit123456");
+ matchingState.getOperationStatus().getZmrProcessId(), "jUnit123456");
assertNotNull("PersonAender KITT req.", zmrReq.getAllValues().get(2).getPersonAendernRequest());
checkBasicRequestParameters(zmrReq.getAllValues().get(2), ZmrClientTest.PROCESS_TASK_UPDATE,
- new BigInteger("367100000000079"), "jUnit123456");
+ matchingState.getOperationStatus().getZmrProcessId(), "jUnit123456");
assertEquals("wrong number of eIDAS Docs to Add", 4,
zmrReq.getAllValues().get(2).getPersonAendernRequest().getEidasIdentitaetAnlage().size());
@@ -527,7 +527,7 @@ public class AlternativeSearchTaskWithRegisterTest {
assertNotNull("Personensuche KITT req.", zmrReq.getAllValues().get(3).getPersonSuchenRequest());
checkBasicRequestParameters(zmrReq.getAllValues().get(3), ZmrClientTest.PROCESS_TASK_SEARCH,
- new BigInteger("367100000000079"), "jUnit123456");
+ matchingState.getOperationStatus().getZmrProcessId(), "jUnit123456");
DetailedMatchtingStatistic entry = MatchingTaskUtils.getDetailedMatchingStatistic(pendingReq);
assertNotNull("statisticLogEntry", entry);
@@ -610,7 +610,7 @@ public class AlternativeSearchTaskWithRegisterTest {
assertNotNull("Personensuche CC-specific req.", zmrReq.getAllValues().get(0).getPersonSuchenRequest());
checkBasicRequestParameters(zmrReq.getAllValues().get(1), ZmrClientTest.PROCESS_TASK_SEARCH,
- new BigInteger("367100000000079"), "jUnit123456");
+ matchingState.getOperationStatus().getZmrProcessId(), "jUnit123456");
checkEidasDocumentResult(zmrReq.getAllValues().get(1).getPersonSuchenRequest().getEidasSuchdaten(),
"http://eidas.europa.eu/attributes/naturalperson/PlaceOfBirth",
"DE", "Hintergigritzpotschn");
@@ -621,19 +621,19 @@ public class AlternativeSearchTaskWithRegisterTest {
assertNotNull("Personensuche KITT req.", zmrReq.getAllValues().get(2).getPersonSuchenRequest());
checkBasicRequestParameters(zmrReq.getAllValues().get(2), ZmrClientTest.PROCESS_TASK_SEARCH,
- new BigInteger("367100000000079"), "jUnit123456");
+ matchingState.getOperationStatus().getZmrProcessId(), "jUnit123456");
assertNotNull("PersonAender KITT req.", zmrReq.getAllValues().get(3).getPersonAendernRequest());
checkBasicRequestParameters(zmrReq.getAllValues().get(3), ZmrClientTest.PROCESS_TASK_UPDATE,
- new BigInteger("367100000000079"), "jUnit123456");
+ matchingState.getOperationStatus().getZmrProcessId(), "jUnit123456");
assertNotNull("Personensuche KITT req.", zmrReq.getAllValues().get(4).getPersonSuchenRequest());
checkBasicRequestParameters(zmrReq.getAllValues().get(4), ZmrClientTest.PROCESS_TASK_SEARCH,
- new BigInteger("367100000000079"), "jUnit123456");
+ matchingState.getOperationStatus().getZmrProcessId(), "jUnit123456");
assertNotNull("PersonAender KITT req.", zmrReq.getAllValues().get(5).getPersonAendernRequest());
checkBasicRequestParameters(zmrReq.getAllValues().get(5), ZmrClientTest.PROCESS_TASK_UPDATE,
- new BigInteger("367100000000079"), "jUnit123456");
+ matchingState.getOperationStatus().getZmrProcessId(), "jUnit123456");
}
@Test
@@ -768,7 +768,7 @@ public class AlternativeSearchTaskWithRegisterTest {
assertNotNull("Personensuche CC-specific req.", zmrReq.getAllValues().get(0).getPersonSuchenRequest());
checkBasicRequestParameters(zmrReq.getAllValues().get(1), ZmrClientTest.PROCESS_TASK_SEARCH,
- new BigInteger("367100000000079"), "jUnit123456");
+ matchingState.getOperationStatus().getZmrProcessId(), "jUnit123456");
checkEidasDocumentResult(zmrReq.getAllValues().get(1).getPersonSuchenRequest().getEidasSuchdaten(),
"http://eidas.europa.eu/attributes/naturalperson/PlaceOfBirth",
"DE", "Hintergigritzpotschn");
@@ -850,7 +850,7 @@ public class AlternativeSearchTaskWithRegisterTest {
assertNotNull("Personensuche CC-specific req.", zmrReq.getAllValues().get(0).getPersonSuchenRequest());
checkBasicRequestParameters(zmrReq.getAllValues().get(1), ZmrClientTest.PROCESS_TASK_SEARCH,
- new BigInteger("367100000000079"), "jUnit123456");
+ matchingState.getOperationStatus().getZmrProcessId(), "jUnit123456");
checkEidasDocumentResult(zmrReq.getAllValues().get(1).getPersonSuchenRequest().getEidasSuchdaten(),
"http://eidas.europa.eu/attributes/naturalperson/PlaceOfBirth",
"DE", "Hintergigritzpotschn");