diff options
author | Thomas <> | 2022-12-01 14:01:03 +0100 |
---|---|---|
committer | Thomas <> | 2022-12-01 14:01:03 +0100 |
commit | 8878c97d1aa4b8abd95de5aef19e48c40522a18e (patch) | |
tree | b64b00d8b5e2a9b5d6fa5acb0712e3091066819d /modules/authmodule-eIDAS-v2/src | |
parent | 458c6f039654ba6ed3608f1523ba45f04f79bcd2 (diff) | |
download | National_eIDAS_Gateway-8878c97d1aa4b8abd95de5aef19e48c40522a18e.tar.gz National_eIDAS_Gateway-8878c97d1aa4b8abd95de5aef19e48c40522a18e.tar.bz2 National_eIDAS_Gateway-8878c97d1aa4b8abd95de5aef19e48c40522a18e.zip |
test(matching): fix broken jUnit test after refactoring of OperationStatus
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/tasks/AlternativeSearchTaskWithRegisterTest.java | 22 |
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"); |