File tree Expand file tree Collapse file tree 3 files changed +4
-33
lines changed
Expand file tree Collapse file tree 3 files changed +4
-33
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -17,8 +17,8 @@ public abstract class TestingBase
1717
1818 private static readonly IConfigurationRoot ConfigurationRoot ;
1919
20- private static FinancialModelingPrepOptions testingOptions ;
21- private static IRequestRateLimiter sharedRateLimiter ;
20+ private static readonly FinancialModelingPrepOptions testingOptions ;
21+ private static readonly IRequestRateLimiter sharedRateLimiter ;
2222
2323 static TestingBase ( )
2424 {
@@ -67,7 +67,7 @@ private static LoggingConfig CreateLoggingConfig()
6767 {
6868 var config = new LoggingConfig ( ) ;
6969
70- config . Formatter = new RemoveApiKeyFromLogSanitizer ( "demo" , config . Formatter ) ;
70+ config . SensitiveValues . Add ( testingOptions . ApiKey ) ;
7171
7272 return config ;
7373 }
Original file line number Diff line number Diff line change 77 </PropertyGroup >
88
99 <ItemGroup >
10- <PackageReference Include =" Divergic.Logging.Xunit" Version =" 4.0 .0" />
10+ <PackageReference Include =" Divergic.Logging.Xunit" Version =" 4.1 .0" />
1111 <PackageReference Include =" Microsoft.Extensions.Configuration" Version =" 6.0.1" />
1212 <PackageReference Include =" Microsoft.Extensions.Configuration.EnvironmentVariables" Version =" 6.0.1" />
1313 <PackageReference Include =" Microsoft.Extensions.Configuration.Json" Version =" 6.0.0" />
You can’t perform that action at this time.
0 commit comments