You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by co...@apache.org on 2023/11/05 12:01:41 UTC

(santuario-xml-security-java) branch 3.0.x-fixes updated: Fixing unit test with JDK8

This is an automated email from the ASF dual-hosted git repository.

coheigea pushed a commit to branch 3.0.x-fixes
in repository https://gitbox.apache.org/repos/asf/santuario-xml-security-java.git


The following commit(s) were added to refs/heads/3.0.x-fixes by this push:
     new 958fb2c2 Fixing unit test with JDK8
958fb2c2 is described below

commit 958fb2c2cba0146646ecf71c38b7be0100b3cf93
Author: Colm O hEigeartaigh <co...@apache.org>
AuthorDate: Sun Nov 5 12:01:27 2023 +0000

    Fixing unit test with JDK8
---
 .../xml/security/test/dom/algorithms/PKSignatureAlgorithmTest.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/java/org/apache/xml/security/test/dom/algorithms/PKSignatureAlgorithmTest.java b/src/test/java/org/apache/xml/security/test/dom/algorithms/PKSignatureAlgorithmTest.java
index c66874e4..59444ad1 100644
--- a/src/test/java/org/apache/xml/security/test/dom/algorithms/PKSignatureAlgorithmTest.java
+++ b/src/test/java/org/apache/xml/security/test/dom/algorithms/PKSignatureAlgorithmTest.java
@@ -509,7 +509,7 @@ public class PKSignatureAlgorithmTest {
         public static final String PROVIDER_NAME = "TestCustomProvider";
 
         protected CustomFakeProvider() {
-            super(PROVIDER_NAME, "1.0", "Custom security provider for unit tests");
+            super(PROVIDER_NAME, 1.0, "Custom security provider for unit tests");
             put("Signature.SHA1withRSA", TestCustomSignatureSpi.class.getName());
         }