[aspnetcore5] Microsoft.AspNetCore.Authentication.Test fails due to incorrect AppContext.BaseDirectory #1198
Labels
area/testing
issues around tests and testing
severity/low
Severity: Low
status/triaged
Status: Triaged
AppContext.BaseDirectory
is the directory in which the managed assembly being run is situated at.The test relies on this property to retreive the certificate files required in the test.
According to dotnet/runtime#7887, this is set by the host runner before invoking the managed code. In our case, probably the test runner needs to set this property.
The text was updated successfully, but these errors were encountered: