This is an automated email from the ASF dual-hosted git repository.
coheigea pushed a commit to branch 2_2_x-fixes
in repository https://gitbox.apache.org/repos/asf/ws-wss4j.git
The following commit(s) were added to refs/heads/2_2_x-fixes by this push:
new 80e3a23 Check result size after SAMLTokenSigned processing
80e3a23 is described below
commit 80e3a23202a6329179727fad8155ea51472aa3b7
Author: Colm O hEigeartaigh <[email protected]>
AuthorDate: Mon Apr 19 09:26:36 2021 +0100
Check result size after SAMLTokenSigned processing
---
.../src/test/java/org/apache/wss4j/dom/saml/SamlTokenActionTest.java | 1 +
1 file changed, 1 insertion(+)
diff --git
a/ws-security-dom/src/test/java/org/apache/wss4j/dom/saml/SamlTokenActionTest.java
b/ws-security-dom/src/test/java/org/apache/wss4j/dom/saml/SamlTokenActionTest.java
index e981210..9e1e821 100644
---
a/ws-security-dom/src/test/java/org/apache/wss4j/dom/saml/SamlTokenActionTest.java
+++
b/ws-security-dom/src/test/java/org/apache/wss4j/dom/saml/SamlTokenActionTest.java
@@ -193,6 +193,7 @@ public class SamlTokenActionTest extends org.junit.Assert {
}
WSHandlerResult results = verify(doc, callbackHandler);
+ assertEquals(2, results.getActionResults().keySet().size());
WSSecurityEngineResult actionResult =
results.getActionResults().get(WSConstants.ST_SIGNED).get(0);