aboutsummaryrefslogtreecommitdiff
path: root/modules/authmodule-eIDAS-v2/src/test/java/at/asitplus
diff options
context:
space:
mode:
authorThomas <>2022-03-10 10:11:00 +0100
committerThomas <>2022-03-10 10:11:00 +0100
commitdb974252e34082e6bf0dbf7b06bf996faadf7b62 (patch)
tree22494f7a7f4e224818e8241ff3d0fe23d34d0f9f /modules/authmodule-eIDAS-v2/src/test/java/at/asitplus
parente1a765249341bb3fa947cd6e153569dd6d955937 (diff)
parent0735a9bb3c338ff80d12156f0904a0714bdf16c3 (diff)
downloadNational_eIDAS_Gateway-db974252e34082e6bf0dbf7b06bf996faadf7b62.tar.gz
National_eIDAS_Gateway-db974252e34082e6bf0dbf7b06bf996faadf7b62.tar.bz2
National_eIDAS_Gateway-db974252e34082e6bf0dbf7b06bf996faadf7b62.zip
Merge branch 'nightlybuild' into feature/matching_base
Diffstat (limited to 'modules/authmodule-eIDAS-v2/src/test/java/at/asitplus')
-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 72046885..a7d21ee7 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
@@ -155,6 +155,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"));