Skip to content

Commit a3c9902

Browse files
authored
Fix HttpSys Caching_SendFileWithFullContentLength_Cached test (#4630)
1 parent 429719b commit a3c9902

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Servers/HttpSys/test/FunctionalTests/ResponseCachingTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public class ResponseCachingTests
2121

2222
public ResponseCachingTests()
2323
{
24-
_absoluteFilePath = Directory.GetFiles(Directory.GetCurrentDirectory()).First();
24+
_absoluteFilePath = Path.Combine(Directory.GetCurrentDirectory(), "Microsoft.AspNetCore.Server.HttpSys.dll");
2525
_fileLength = new FileInfo(_absoluteFilePath).Length;
2626
}
2727

0 commit comments

Comments
 (0)