[java-idp-plugin-oidc-rp] branch main updated: Better logging on failure to read JSON in Tests

Rod Widdowson rdw at steadingsoftware.com
Wed Jul 19 13:29:53 UTC 2023


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

rdw pushed a commit to branch main
in repository java-idp-plugin-oidc-rp.

View the commit online:
http://git.shibboleth.net/view/?p=java-idp-plugin-oidc-rp.git;a=commit;h=0f92a6ba8060665b3d211db345ba2bf257703913

The following commit(s) were added to refs/heads/main by this push:
     new 0f92a6b  Better logging on failure to read JSON in Tests
0f92a6b is described below

commit 0f92a6ba8060665b3d211db345ba2bf257703913
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Wed Jul 19 14:27:33 2023 +0100

    Better logging on failure to read JSON in Tests
---
 .../net/shibboleth/idp/plugin/authn/oidc/rp/impl/TestJsonHelper.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/idp-oidc-rp-impl/src/test/java/net/shibboleth/idp/plugin/authn/oidc/rp/impl/TestJsonHelper.java b/idp-oidc-rp-impl/src/test/java/net/shibboleth/idp/plugin/authn/oidc/rp/impl/TestJsonHelper.java
index 557926d..126e97b 100644
--- a/idp-oidc-rp-impl/src/test/java/net/shibboleth/idp/plugin/authn/oidc/rp/impl/TestJsonHelper.java
+++ b/idp-oidc-rp-impl/src/test/java/net/shibboleth/idp/plugin/authn/oidc/rp/impl/TestJsonHelper.java
@@ -46,7 +46,7 @@ public final class TestJsonHelper {
         try (Reader reader = new InputStreamReader(location.getInputStream(), StandardCharsets.UTF_8)) {
             return FileCopyUtils.copyToString(reader);
         } catch (final Exception ex) {
-            fail();
+            fail("JSON Read Failed", ex);
             return null;
         }
     }

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


More information about the commits mailing list