diff options
author | Thomas <> | 2022-03-10 11:13:24 +0100 |
---|---|---|
committer | Thomas <> | 2022-03-10 11:13:24 +0100 |
commit | b5d1f18185a738eca10fd9d6298509dfa710d8ce (patch) | |
tree | 2b5be89d9e55e2cb166edf15681824204f406b88 /modules/authmodule-eIDAS-v2/src/test/java | |
parent | 195039ce087b5febe63120733774b2a81ba33c68 (diff) | |
download | National_eIDAS_Gateway-b5d1f18185a738eca10fd9d6298509dfa710d8ce.tar.gz National_eIDAS_Gateway-b5d1f18185a738eca10fd9d6298509dfa710d8ce.tar.bz2 National_eIDAS_Gateway-b5d1f18185a738eca10fd9d6298509dfa710d8ce.zip |
fix(matching): remove staging infos to prohibit cycling forwarding
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/ReceiveAuthnResponseTaskTest.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/authmodule-eIDAS-v2/src/test/java/at/asitplus/eidas/specific/modules/auth/eidas/v2/test/tasks/ReceiveAuthnResponseTaskTest.java b/modules/authmodule-eIDAS-v2/src/test/java/at/asitplus/eidas/specific/modules/auth/eidas/v2/test/tasks/ReceiveAuthnResponseTaskTest.java index a67b7f27..842c8bf7 100644 --- a/modules/authmodule-eIDAS-v2/src/test/java/at/asitplus/eidas/specific/modules/auth/eidas/v2/test/tasks/ReceiveAuthnResponseTaskTest.java +++ b/modules/authmodule-eIDAS-v2/src/test/java/at/asitplus/eidas/specific/modules/auth/eidas/v2/test/tasks/ReceiveAuthnResponseTaskTest.java @@ -158,6 +158,8 @@ public class ReceiveAuthnResponseTaskTest { IRequest storedReq = storage.getPendingRequest(pendingReq.getPendingRequestId()); 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()); |