aboutsummaryrefslogtreecommitdiff
path: root/modules/authmodule-eIDAS-v2/src/test/java
diff options
context:
space:
mode:
authorThomas <>2022-03-10 09:56:54 +0100
committerThomas <>2022-03-10 09:56:54 +0100
commiteaea7a16ecc71cb9610afa0a5e49613e07729bee (patch)
treee90666d7e5d8e297fea39875eccd6388f2aff89e /modules/authmodule-eIDAS-v2/src/test/java
parente8623ea98ff82b80a701928f6aed942acc46b3cd (diff)
parent0735a9bb3c338ff80d12156f0904a0714bdf16c3 (diff)
downloadNational_eIDAS_Gateway-eaea7a16ecc71cb9610afa0a5e49613e07729bee.tar.gz
National_eIDAS_Gateway-eaea7a16ecc71cb9610afa0a5e49613e07729bee.tar.bz2
National_eIDAS_Gateway-eaea7a16ecc71cb9610afa0a5e49613e07729bee.zip
Merge branch 'nightlybuild' into feature/ms_proxy_service
Diffstat (limited to 'modules/authmodule-eIDAS-v2/src/test/java')
-rw-r--r--modules/authmodule-eIDAS-v2/src/test/java/at/asitplus/eidas/specific/modules/auth/eidas/v2/test/tasks/ReceiveEidasResponseTaskTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/authmodule-eIDAS-v2/src/test/java/at/asitplus/eidas/specific/modules/auth/eidas/v2/test/tasks/ReceiveEidasResponseTaskTest.java b/modules/authmodule-eIDAS-v2/src/test/java/at/asitplus/eidas/specific/modules/auth/eidas/v2/test/tasks/ReceiveEidasResponseTaskTest.java
index ba77610a..47ad5cbd 100644
--- a/modules/authmodule-eIDAS-v2/src/test/java/at/asitplus/eidas/specific/modules/auth/eidas/v2/test/tasks/ReceiveEidasResponseTaskTest.java
+++ b/modules/authmodule-eIDAS-v2/src/test/java/at/asitplus/eidas/specific/modules/auth/eidas/v2/test/tasks/ReceiveEidasResponseTaskTest.java
@@ -160,6 +160,9 @@ public class ReceiveEidasResponseTaskTest {
Assert.assertEquals("msConnectorStage", true,
(Boolean) executionContext.get(MsEidasNodeConstants.EXECCONTEXT_PARAM_MSCONNECTOR_STAGING));
+ IRequest storedReq = storage.getPendingRequest(pendingReq.getPendingRequestId());
+ Assert.assertNotNull("pendingReq not stored", storedReq);
+
//validate state
Assert.assertEquals("Wrong http statusCode", 302, httpResp.getStatus());
Assert.assertNotNull("No redirect header", httpResp.getHeaderValue("Location"));