We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e8c63f6 + a3c9902 commit f5b36aaCopy full SHA for f5b36aa
src/Servers/HttpSys/test/FunctionalTests/ResponseCachingTests.cs
@@ -21,7 +21,7 @@ public class ResponseCachingTests
21
22
public ResponseCachingTests()
23
{
24
- _absoluteFilePath = Directory.GetFiles(Directory.GetCurrentDirectory()).First();
+ _absoluteFilePath = Path.Combine(Directory.GetCurrentDirectory(), "Microsoft.AspNetCore.Server.HttpSys.dll");
25
_fileLength = new FileInfo(_absoluteFilePath).Length;
26
}
27
0 commit comments