[java-opensaml] 01/02: OSJ-347: Eliminate use of self-hosted MDQ server for unit tests
Brent Putman
putmanb at georgetown.edu
Sat Feb 12 02:14:32 UTC 2022
This is an automated email from the git hooks/post-receive script.
putmanb pushed a commit to branch main
in repository java-opensaml.
View the commit online:
http://git.shibboleth.net/view/?p=java-opensaml.git;a=commit;h=d25fa019559fdab87446b2c97066a1bb049dc05b
commit d25fa019559fdab87446b2c97066a1bb049dc05b
Author: Brent Putman <putmanb at georgetown.edu>
AuthorDate: Fri Feb 11 18:09:32 2022 -0500
OSJ-347: Eliminate use of self-hosted MDQ server for unit tests
---
.../resolver/impl/AbstractDynamicHTTPMetadataResolverTest.java | 4 ++--
.../impl/FunctionDrivenDynamicHTTPMetadataResolverTest.java | 8 ++++----
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/opensaml-saml-impl/src/test/java/org/opensaml/saml/metadata/resolver/impl/AbstractDynamicHTTPMetadataResolverTest.java b/opensaml-saml-impl/src/test/java/org/opensaml/saml/metadata/resolver/impl/AbstractDynamicHTTPMetadataResolverTest.java
index a3ffcc039..b254946cd 100644
--- a/opensaml-saml-impl/src/test/java/org/opensaml/saml/metadata/resolver/impl/AbstractDynamicHTTPMetadataResolverTest.java
+++ b/opensaml-saml-impl/src/test/java/org/opensaml/saml/metadata/resolver/impl/AbstractDynamicHTTPMetadataResolverTest.java
@@ -83,8 +83,8 @@ public class AbstractDynamicHTTPMetadataResolverTest extends XMLObjectBaseTestCa
@Test
public void testBasicRequest() throws ResolverException {
// Test uses MDQ protocol
- String baseURL = "https://test.shibboleth.net/mdq";
- String entityID = "https://foo1.example.org/idp/shibboleth";
+ String baseURL = "https://mdq.incommon.org";
+ String entityID = "urn:mace:incommon:osu.edu";
String requestURL = new MetadataQueryProtocolRequestURLBuilder(baseURL).apply(new CriteriaSet(new EntityIdCriterion(entityID)));
CriteriaSet criteriaSet = new CriteriaSet(new RequestURLCriterion(requestURL));
diff --git a/opensaml-saml-impl/src/test/java/org/opensaml/saml/metadata/resolver/impl/FunctionDrivenDynamicHTTPMetadataResolverTest.java b/opensaml-saml-impl/src/test/java/org/opensaml/saml/metadata/resolver/impl/FunctionDrivenDynamicHTTPMetadataResolverTest.java
index e3ad00b20..a898b2e78 100644
--- a/opensaml-saml-impl/src/test/java/org/opensaml/saml/metadata/resolver/impl/FunctionDrivenDynamicHTTPMetadataResolverTest.java
+++ b/opensaml-saml-impl/src/test/java/org/opensaml/saml/metadata/resolver/impl/FunctionDrivenDynamicHTTPMetadataResolverTest.java
@@ -218,8 +218,8 @@ public class FunctionDrivenDynamicHTTPMetadataResolverTest extends XMLObjectBase
@Test
public void testMDQ() throws Exception {
- String baseURL = "https://test.shibboleth.net/mdq";
- String entityID = "https://foo1.example.org/idp/shibboleth";
+ String baseURL = "https://mdq.incommon.org";
+ String entityID = "urn:mace:incommon:osu.edu";
MetadataQueryProtocolRequestURLBuilder requestURLBuilder = new MetadataQueryProtocolRequestURLBuilder(baseURL);
@@ -240,8 +240,8 @@ public class FunctionDrivenDynamicHTTPMetadataResolverTest extends XMLObjectBase
@Test
public void testMDQViaArtifact() throws Exception {
- String baseURL = "https://test.shibboleth.net/mdq";
- String entityID = "https://foo1.example.org/idp/shibboleth";
+ String baseURL = "https://mdq.incommon.org";
+ String entityID = "urn:mace:incommon:osu.edu";
MetadataQueryProtocolRequestURLBuilder requestURLBuilder = new MetadataQueryProtocolRequestURLBuilder(baseURL,
Collections.singletonList(new SAMLArtifactURLBuilder()));
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list