[java-opensaml] branch main updated: Remove test of deprecated->removed feature.

Scott Cantor cantor.2 at osu.edu
Tue Jan 24 14:41:41 UTC 2023


This is an automated email from the git hooks/post-receive script.

scantor pushed a commit to branch main
in repository java-opensaml.

View the commit online:
http://git.shibboleth.net/view/?p=java-opensaml.git;a=commit;h=46c60c821b0b24362e95886e078575461c23542f

The following commit(s) were added to refs/heads/main by this push:
     new 46c60c821 Remove test of deprecated->removed feature.
46c60c821 is described below

commit 46c60c821b0b24362e95886e078575461c23542f
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Tue Jan 24 09:41:38 2023 -0500

    Remove test of deprecated->removed feature.
---
 .../saml/saml2/assertion/tests/SAML20AssertionValidatorTest.java  | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/opensaml-saml-impl/src/test/java/org/opensaml/saml/saml2/assertion/tests/SAML20AssertionValidatorTest.java b/opensaml-saml-impl/src/test/java/org/opensaml/saml/saml2/assertion/tests/SAML20AssertionValidatorTest.java
index c645f3354..18482fb49 100644
--- a/opensaml-saml-impl/src/test/java/org/opensaml/saml/saml2/assertion/tests/SAML20AssertionValidatorTest.java
+++ b/opensaml-saml-impl/src/test/java/org/opensaml/saml/saml2/assertion/tests/SAML20AssertionValidatorTest.java
@@ -627,14 +627,6 @@ public class SAML20AssertionValidatorTest extends BaseAssertionValidationTest {
         validationContext = new ValidationContext(staticParams);
         Assert.assertEquals(SAML20AssertionValidator.getLifetime(validationContext), Duration.ofMinutes(8));
         
-        staticParams.put(SAML2AssertionValidationParameters.LIFETIME, 7*60*1000l);
-        validationContext = new ValidationContext(staticParams);
-        Assert.assertEquals(SAML20AssertionValidator.getLifetime(validationContext), Duration.ofMinutes(7));
-        
-        staticParams.put(SAML2AssertionValidationParameters.LIFETIME, -9*60*1000l);
-        validationContext = new ValidationContext(staticParams);
-        Assert.assertEquals(SAML20AssertionValidator.getLifetime(validationContext), Duration.ofMinutes(9));
-        
         // Duration==0 means use default
         staticParams.put(SAML2AssertionValidationParameters.LIFETIME, Duration.ofSeconds(0));
         validationContext = new ValidationContext(staticParams);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list