aboutsummaryrefslogtreecommitdiff
path: root/modules/authmodule-eIDAS-v2/src/test/java
diff options
context:
space:
mode:
authorThomas <>2022-03-10 16:57:55 +0100
committerThomas <>2022-03-10 16:57:55 +0100
commit08ee18252a84f29913256cfabae835010442586c (patch)
tree071c66a45999cd68d91b2865078a0cc524b18c41 /modules/authmodule-eIDAS-v2/src/test/java
parent34dff8116290845953e386c6bfd7d17224a6ad34 (diff)
downloadNational_eIDAS_Gateway-08ee18252a84f29913256cfabae835010442586c.tar.gz
National_eIDAS_Gateway-08ee18252a84f29913256cfabae835010442586c.tar.bz2
National_eIDAS_Gateway-08ee18252a84f29913256cfabae835010442586c.zip
refactor(matching): set other matching option as String to prohibit staging problems
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/ReceiveOtherLoginMethodGuiResponseTaskTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/authmodule-eIDAS-v2/src/test/java/at/asitplus/eidas/specific/modules/auth/eidas/v2/test/tasks/ReceiveOtherLoginMethodGuiResponseTaskTest.java b/modules/authmodule-eIDAS-v2/src/test/java/at/asitplus/eidas/specific/modules/auth/eidas/v2/test/tasks/ReceiveOtherLoginMethodGuiResponseTaskTest.java
index 6ec7d6e0..750a17ce 100644
--- a/modules/authmodule-eIDAS-v2/src/test/java/at/asitplus/eidas/specific/modules/auth/eidas/v2/test/tasks/ReceiveOtherLoginMethodGuiResponseTaskTest.java
+++ b/modules/authmodule-eIDAS-v2/src/test/java/at/asitplus/eidas/specific/modules/auth/eidas/v2/test/tasks/ReceiveOtherLoginMethodGuiResponseTaskTest.java
@@ -108,7 +108,7 @@ public class ReceiveOtherLoginMethodGuiResponseTaskTest {
assertFalse("wrong pendingReq auth flag", pendingReq.isAuthenticated());
assertFalse("wrong process-cancelled flag", executionContext.isProcessCancelled());
assertNotNull("no login-selection found", executionContext.get(Constants.REQ_SELECTED_LOGIN_METHOD_PARAMETER));
- assertEquals("Wrong login-selection found", loginMethod, executionContext.get(Constants.REQ_SELECTED_LOGIN_METHOD_PARAMETER));
+ assertEquals("Wrong login-selection found", loginMethod.name(), executionContext.get(Constants.REQ_SELECTED_LOGIN_METHOD_PARAMETER));
assertEquals("Next task", true, executionContext.get(expectedTransition));
assertNull("find advancedMatchingError flag", executionContext.get(Constants.CONTEXT_FLAG_ADVANCED_MATCHING_FAILED));