Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit c20ac0a

Browse files
committed
Fix where the test http server serves files from, doh
1 parent 89a406b commit c20ac0a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/tests/IntegrationTests/Download/DownloadTaskTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public override void OnSetup()
2626
public override void TestFixtureSetUp()
2727
{
2828
base.TestFixtureSetUp();
29-
server = new TestWebServer.HttpServer();
29+
server = new TestWebServer.HttpServer(SolutionDirectory.Combine("files"));
3030
Task.Factory.StartNew(server.Start);
3131
ApplicationConfiguration.WebTimeout = 20000;
3232
}

src/tests/TestWebServer/HttpServer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public void Start()
6767
{
6868
try
6969
{
70-
Logger.Info($"Starting http server on port {Port}");
70+
Logger.Info($"Starting http server on port {Port} serving from {rootDirectory}");
7171
listener.Start();
7272
while (true)
7373
{

0 commit comments

Comments
 (0)