[java-plugin-shibd] branch main updated: Fix test.

Scott Cantor cantor.2 at osu.edu
Fri Apr 11 16:53:41 UTC 2025


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

scantor pushed a commit to branch main
in repository java-plugin-shibd.

View the commit online:
http://git.shibboleth.net/view/?p=java-plugin-shibd.git;a=commit;h=395ea4ef106104f17939a0d94d4bd3f9105ccc8e

The following commit(s) were added to refs/heads/main by this push:
     new 395ea4e  Fix test.
395ea4e is described below

commit 395ea4ef106104f17939a0d94d4bd3f9105ccc8e
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Fri Apr 11 12:53:34 2025 -0400

    Fix test.
---
 .../test/java/net/shibboleth/sp/flows/SessionInitiatorFlowTest.java    | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sp-conf-impl/src/test/java/net/shibboleth/sp/flows/SessionInitiatorFlowTest.java b/sp-conf-impl/src/test/java/net/shibboleth/sp/flows/SessionInitiatorFlowTest.java
index d602532..1dc5512 100644
--- a/sp-conf-impl/src/test/java/net/shibboleth/sp/flows/SessionInitiatorFlowTest.java
+++ b/sp-conf-impl/src/test/java/net/shibboleth/sp/flows/SessionInitiatorFlowTest.java
@@ -15,6 +15,7 @@
 package net.shibboleth.sp.flows;
 
 import java.io.IOException;
+import java.nio.charset.StandardCharsets;
 
 import javax.annotation.Nonnull;
 
@@ -24,6 +25,7 @@ import org.testng.annotations.Test;
 
 import net.shibboleth.idp.authn.AuthnEventIds;
 import net.shibboleth.sp.ddf.DDF;
+import net.shibboleth.sp.profile.SPConstants;
 import net.shibboleth.sp.profile.impl.ResolveApplication;
 
 /**
@@ -80,6 +82,7 @@ public class SessionInitiatorFlowTest extends AbstractSPFlowTest {
         
         final DDF input = new DDF(null).structure();
         input.addmember(ResolveApplication.APPLICATION_ID).string(APPLICATION_ID);
+        input.addmember(SPConstants.TARGET).unsafe_string("https://sp.example.org".getBytes(StandardCharsets.UTF_8));
         setRequest("POST", input);
 
         final FlowExecutionResult result = flowExecutor.launchExecution(FLOW_ID, null, externalContext);

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


More information about the commits mailing list