[java-metadata-aggregator] 01/02: Open up a method to allow proxying in Spring tests

Ian Young ian at iay.org.uk
Tue Sep 16 11:12:40 UTC 2025


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

iay pushed a commit to branch main
in repository java-metadata-aggregator.

View the commit online:
http://git.shibboleth.net/view/?p=java-metadata-aggregator.git;a=commit;h=babfee057a8fed15c6d7e5e7a213d5b2a8697cf2

commit babfee057a8fed15c6d7e5e7a213d5b2a8697cf2
Author: Ian Young <ian at iay.org.uk>
AuthorDate: Tue Sep 16 10:44:31 2025 +0100

    Open up a method to allow proxying in Spring tests
---
 .../src/test/java/net/shibboleth/metadata/dom/testing/BaseDOMTest.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mda-framework/src/test/java/net/shibboleth/metadata/dom/testing/BaseDOMTest.java b/mda-framework/src/test/java/net/shibboleth/metadata/dom/testing/BaseDOMTest.java
index 4e94d71..b17e9a2 100644
--- a/mda-framework/src/test/java/net/shibboleth/metadata/dom/testing/BaseDOMTest.java
+++ b/mda-framework/src/test/java/net/shibboleth/metadata/dom/testing/BaseDOMTest.java
@@ -193,7 +193,7 @@ public abstract class BaseDOMTest extends BaseTest {
         }
     }
 
-    protected int countErrors(final Item<Element> item) {
+    public int countErrors(final Item<Element> item) {
         final ClassToInstanceMultiMap<ItemMetadata> metadata = item.getItemMetadata();
         final List<ErrorStatus> errors = metadata.get(ErrorStatus.class);
         return errors.size();

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


More information about the commits mailing list