[java-oidc-common] branch main updated: Fix test
Phil Smart
philip.smart at jisc.ac.uk
Thu Apr 27 16:28:17 UTC 2023
This is an automated email from the git hooks/post-receive script.
philsmart pushed a commit to branch main
in repository java-oidc-common.
View the commit online:
http://git.shibboleth.net/view/?p=java-oidc-common.git;a=commit;h=ddc4426872ed61148cb61c977fadc3ab1706a9e4
The following commit(s) were added to refs/heads/main by this push:
new ddc4426 Fix test
ddc4426 is described below
commit ddc4426872ed61148cb61c977fadc3ab1706a9e4
Author: Phil Smart <philip.smart at jisc.ac.uk>
AuthorDate: Thu Apr 27 17:28:15 2023 +0100
Fix test
---
.../navigate/ProviderMetadataStringValuesLookupFunctionTest.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/oidc-common-profile-api/src/test/java/net/shibboleth/oidc/profile/config/navigate/ProviderMetadataStringValuesLookupFunctionTest.java b/oidc-common-profile-api/src/test/java/net/shibboleth/oidc/profile/config/navigate/ProviderMetadataStringValuesLookupFunctionTest.java
index d11bb24..e61a682 100644
--- a/oidc-common-profile-api/src/test/java/net/shibboleth/oidc/profile/config/navigate/ProviderMetadataStringValuesLookupFunctionTest.java
+++ b/oidc-common-profile-api/src/test/java/net/shibboleth/oidc/profile/config/navigate/ProviderMetadataStringValuesLookupFunctionTest.java
@@ -19,7 +19,7 @@ package net.shibboleth.oidc.profile.config.navigate;
import static org.testng.Assert.assertEquals;
import static org.testng.Assert.assertNotNull;
-import static org.testng.Assert.assertNull;
+import static org.testng.Assert.assertTrue;
import java.net.URI;
import java.net.URISyntaxException;
@@ -81,7 +81,7 @@ public class ProviderMetadataStringValuesLookupFunctionTest {
new ProviderMetadataStringValuesLookupFunction("request_object_encryption_enc_values_supported");
final List<String> encs = function.apply(metadata);
- assertNull(encs);
+ assertTrue(encs.isEmpty());
}
@@ -106,7 +106,7 @@ public class ProviderMetadataStringValuesLookupFunctionTest {
final List<String> encs = function.apply(null);
- assertNull(encs);
+ assertTrue(encs.isEmpty());
}
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list