[java-support] branch main updated: Fix hand off to new test method.

Scott Cantor cantor.2 at osu.edu
Mon Jan 31 14:26:12 UTC 2022


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

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

View the commit online:
http://git.shibboleth.net/view/?p=java-support.git;a=commit;h=469797c1c6160ef40fa12fab7f8b0e2c439d0435

The following commit(s) were added to refs/heads/main by this push:
     new 469797c  Fix hand off to new test method.
469797c is described below

commit 469797c1c6160ef40fa12fab7f8b0e2c439d0435
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Mon Jan 31 09:26:10 2022 -0500

    Fix hand off to new test method.
---
 .../utilities/java/support/test/repository/RepositorySupport.java   | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/test/java/net/shibboleth/utilities/java/support/test/repository/RepositorySupport.java b/src/test/java/net/shibboleth/utilities/java/support/test/repository/RepositorySupport.java
index 0c2eee3..5708589 100644
--- a/src/test/java/net/shibboleth/utilities/java/support/test/repository/RepositorySupport.java
+++ b/src/test/java/net/shibboleth/utilities/java/support/test/repository/RepositorySupport.java
@@ -38,7 +38,7 @@ public final class RepositorySupport {
      * @return the HTTPS resource URL
      */
     public static String buildHTTPSResourceURL(@Nonnull final String repoName, @Nonnull final String resourcePath) {
-        return buildHTTPResourceURL(repoName, resourcePath, true);
+        return buildHTTPResourceURL(repoName, resourcePath, true, "HEAD");
     }
     
     /**
@@ -52,7 +52,7 @@ public final class RepositorySupport {
      */
     public static String buildHTTPResourceURL(@Nonnull final String repoName, @Nonnull final String resourcePath, 
             final boolean https) {
-        return buildHTTPResourceURL(repoName, resourcePath, true, "HEAD");
+        return buildHTTPResourceURL(repoName, resourcePath, https, "HEAD");
     }
     
     /**
@@ -82,7 +82,7 @@ public final class RepositorySupport {
         if (https) {
             return String.format("https://test.shibboleth.net/git/view/?p=%s.git&a=blob_plain&f=%s&hb=%s", repo, path, branch);
         }
-        return String.format("http://git.shibboleth.net/view/?p=%s.git&a=blob_plain&f=%s&hb=%s", repo, branch);
+        return String.format("http://git.shibboleth.net/view/?p=%s.git&a=blob_plain&f=%s&hb=%s", repo, path, branch);
     }
 
 }
\ No newline at end of file

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


More information about the commits mailing list