File tree Expand file tree Collapse file tree 4 files changed +0
-41
lines changed
TIKSN.Framework.Core.Tests Expand file tree Collapse file tree 4 files changed +0
-41
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11using System ;
22using System . Collections . Generic ;
3- using System . Globalization ;
43using System . Threading . Tasks ;
54using Microsoft . Extensions . Caching . Memory ;
65using Microsoft . Extensions . DependencyInjection ;
76using Microsoft . Extensions . Logging ;
87using Microsoft . Extensions . Options ;
98using NSubstitute ;
10- using Serilog ;
119using Shouldly ;
1210using TIKSN . Data . Cache . Memory ;
1311using TIKSN . DependencyInjection ;
@@ -33,11 +31,6 @@ public MemoryCachedCurrencyConverterTests(ITestOutputHelper testOutputHelper)
3331 _ = services . AddLogging ( builder =>
3432 {
3533 _ = builder . AddDebug ( ) ;
36- var loggger = new LoggerConfiguration ( )
37- . MinimumLevel . Verbose ( )
38- . WriteTo . TestOutput ( testOutputHelper , formatProvider : CultureInfo . InvariantCulture )
39- . CreateLogger ( ) ;
40- _ = builder . AddSerilog ( loggger ) ;
4134 } ) ;
4235 _ = services . Configure < MemoryCachedCurrencyConverterOptions > ( o => o . CacheInterval = TimeSpan . FromMinutes ( 5 ) ) ;
4336 var serviceProvider = services . BuildServiceProvider ( ) ;
Original file line number Diff line number Diff line change 11using System ;
2- using System . Globalization ;
32using System . Linq ;
43using Microsoft . Extensions . DependencyInjection ;
54using Microsoft . Extensions . Localization ;
65using Microsoft . Extensions . Logging ;
7- using Serilog ;
86using Shouldly ;
97using TIKSN . DependencyInjection ;
108using Xunit ;
@@ -24,11 +22,6 @@ public CompositeAssemblyStringLocalizerTests(ITestOutputHelper testOutputHelper)
2422 _ = services . AddLogging ( builder =>
2523 {
2624 _ = builder . AddDebug ( ) ;
27- var loggger = new LoggerConfiguration ( )
28- . MinimumLevel . Verbose ( )
29- . WriteTo . TestOutput ( testOutputHelper , formatProvider : CultureInfo . InvariantCulture )
30- . CreateLogger ( ) ;
31- _ = builder . AddSerilog ( loggger ) ;
3225 } ) ;
3326 this . serviceProvider = services . BuildServiceProvider ( ) ;
3427 }
Original file line number Diff line number Diff line change 11using System ;
2- using System . Globalization ;
32using System . Threading . Tasks ;
43using Microsoft . Extensions . DependencyInjection ;
54using Microsoft . Extensions . Localization ;
65using Microsoft . Extensions . Logging ;
7- using Serilog ;
86using Shouldly ;
97using Spectre . Console ;
108using Spectre . Console . Testing ;
@@ -37,11 +35,6 @@ public async Task GivenDependencies_WhenHelpCommandAndExitCalled_ThenOutputShoul
3735 _ = services . AddLogging ( builder =>
3836 {
3937 _ = builder . AddDebug ( ) ;
40- var loggger = new LoggerConfiguration ( )
41- . MinimumLevel . Verbose ( )
42- . WriteTo . TestOutput ( this . testOutputHelper , formatProvider : CultureInfo . InvariantCulture )
43- . CreateLogger ( ) ;
44- _ = builder . AddSerilog ( loggger ) ;
4538 } ) ;
4639 var serviceProvider = services . BuildServiceProvider ( ) ;
4740 var shellCommandEngine = serviceProvider . GetRequiredService < IShellCommandEngine > ( ) ;
You can’t perform that action at this time.
0 commit comments