Skip to content

Commit da6ec73

Browse files
committed
Change the value of the "Location" header to use the local host name, not "localhost".
1 parent 6481caa commit da6ec73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

LogicAppUnit.Samples.LogicApps.Tests/PrivateChunkingWorkflow/PrivateChunkingWorkflow.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public void ChunkedTransferWorkflow_Success()
5656
.RespondWith(
5757
MockResponseBuilder.Create()
5858
.WithSuccess()
59-
.WithHeader("Location", $"{MockTestWorkflowHostUri}/api/v1.1/{chunkEndpoint}")
59+
.WithHeader("Location", $"http://{Environment.MachineName}:7075/api/v1.1/{chunkEndpoint}")
6060
.WithHeader("x-ms-chunk-size", chunkSizeInBytes.ToString()));
6161

6262
testRunner.AddApiMocks = (request) =>

0 commit comments

Comments
 (0)