[java-opensaml] branch master updated: Fix test with odd edge cases

Rod Widdowson rdw at steadingsoftware.com
Sun Apr 19 11:03:09 EDT 2020


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

rdw pushed a commit to branch master
in repository java-opensaml.

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

The following commit(s) were added to refs/heads/master by this push:
       new  9567766   Fix test with odd edge cases
9567766 is described below

commit 95677662d1961a1861a56f75c987ad2c943871fa
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Sun Apr 19 16:03:01 2020 +0100

    Fix test with odd edge cases
---
 .../src/test/java/org/opensaml/saml/ext/saml2mdui/impl/UIInfoTest.java  | 2 +-
 .../resources/org/opensaml/saml/ext/saml2mdui/UIInfoChildElements.xml   | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/opensaml-saml-impl/src/test/java/org/opensaml/saml/ext/saml2mdui/impl/UIInfoTest.java b/opensaml-saml-impl/src/test/java/org/opensaml/saml/ext/saml2mdui/impl/UIInfoTest.java
index 2cf53b4..a733594 100644
--- a/opensaml-saml-impl/src/test/java/org/opensaml/saml/ext/saml2mdui/impl/UIInfoTest.java
+++ b/opensaml-saml-impl/src/test/java/org/opensaml/saml/ext/saml2mdui/impl/UIInfoTest.java
@@ -46,7 +46,7 @@ public class UIInfoTest extends XMLObjectProviderBaseTestCase {
     private final int expectedDescriptionsCount = 1;
     
     /** Expected count of <Keywords>. */
-    private final int expectedKeywordsCount = 2;
+    private final int expectedKeywordsCount = 1;
     
     /** Expected count of <Logo>. */
     private final int expectedLogosCount = 1;
diff --git a/opensaml-saml-impl/src/test/resources/org/opensaml/saml/ext/saml2mdui/UIInfoChildElements.xml b/opensaml-saml-impl/src/test/resources/org/opensaml/saml/ext/saml2mdui/UIInfoChildElements.xml
index 192f54d..5db0b77 100644
--- a/opensaml-saml-impl/src/test/resources/org/opensaml/saml/ext/saml2mdui/UIInfoChildElements.xml
+++ b/opensaml-saml-impl/src/test/resources/org/opensaml/saml/ext/saml2mdui/UIInfoChildElements.xml
@@ -3,7 +3,6 @@
   <mdui:DisplayName/>
   <mdui:Description/>
   <mdui:Keywords/>
-  <mdui:Keywords/>
   <mdui:InformationURL/>
   <mdui:DisplayName/>
   <mdui:Logo/>

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


More information about the commits mailing list