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
17
17
18
18
private static readonly IConfigurationRoot ConfigurationRoot ;
19
19
20
- private static FinancialModelingPrepOptions testingOptions ;
21
- private static IRequestRateLimiter sharedRateLimiter ;
20
+ private static readonly FinancialModelingPrepOptions testingOptions ;
21
+ private static readonly IRequestRateLimiter sharedRateLimiter ;
22
22
23
23
static TestingBase ( )
24
24
{
@@ -67,7 +67,7 @@ private static LoggingConfig CreateLoggingConfig()
67
67
{
68
68
var config = new LoggingConfig ( ) ;
69
69
70
- config . Formatter = new RemoveApiKeyFromLogSanitizer ( "demo" , config . Formatter ) ;
70
+ config . SensitiveValues . Add ( testingOptions . ApiKey ) ;
71
71
72
72
return config ;
73
73
}
Original file line number Diff line number Diff line change 7
7
</PropertyGroup >
8
8
9
9
<ItemGroup >
10
- <PackageReference Include =" Divergic.Logging.Xunit" Version =" 4.0 .0" />
10
+ <PackageReference Include =" Divergic.Logging.Xunit" Version =" 4.1 .0" />
11
11
<PackageReference Include =" Microsoft.Extensions.Configuration" Version =" 6.0.1" />
12
12
<PackageReference Include =" Microsoft.Extensions.Configuration.EnvironmentVariables" Version =" 6.0.1" />
13
13
<PackageReference Include =" Microsoft.Extensions.Configuration.Json" Version =" 6.0.0" />
You can’t perform that action at this time.
0 commit comments