aboutsummaryrefslogtreecommitdiff
path: root/modules/authmodule-eIDAS-v2/src/test
diff options
context:
space:
mode:
authorThomas <>2022-03-10 11:10:36 +0100
committerThomas <>2022-03-10 11:10:36 +0100
commit195039ce087b5febe63120733774b2a81ba33c68 (patch)
treee924fc79317dc44fd33545cc3d6a9cf035553bbd /modules/authmodule-eIDAS-v2/src/test
parent0ee42637f04ada0a7265a7803e66d230b768a866 (diff)
parentcfdb480ae6588c427325ccb321765fd7d885a7e1 (diff)
downloadNational_eIDAS_Gateway-195039ce087b5febe63120733774b2a81ba33c68.tar.gz
National_eIDAS_Gateway-195039ce087b5febe63120733774b2a81ba33c68.tar.bz2
National_eIDAS_Gateway-195039ce087b5febe63120733774b2a81ba33c68.zip
Merge branch 'nightlybuild' into feature/matching_base
Diffstat (limited to 'modules/authmodule-eIDAS-v2/src/test')
-rw-r--r--modules/authmodule-eIDAS-v2/src/test/java/at/asitplus/eidas/specific/modules/auth/eidas/v2/test/tasks/ReceiveEidasResponseTaskTest.java4
1 files changed, 3 insertions, 1 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 a7d21ee7..4148b138 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
@@ -156,7 +156,9 @@ public class ReceiveEidasResponseTaskTest {
(Boolean) executionContext.get(MsEidasNodeConstants.EXECCONTEXT_PARAM_MSCONNECTOR_STAGING));
IRequest storedReq = storage.getPendingRequest(pendingReq.getPendingRequestId());
- Assert.assertNotNull("pendingReq not stored", storedReq);
+ Assert.assertNotNull("pendingReq not stored", storedReq);
+ Assert.assertNull("staging info is not null", storedReq.getRawData(
+ MsEidasNodeConstants.EXECCONTEXT_PARAM_MSCONNECTOR_STAGING, String.class));
//validate state
Assert.assertEquals("Wrong http statusCode", 302, httpResp.getStatus());