File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
tests/Serilog.Enrichers.AzureClaims.Tests/Claims Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 11using Microsoft . AspNetCore . Http ;
22using NSubstitute ;
3+ using Serilog . Core ;
34using Serilog . Enrichers . AzureClaims . Tests . Helpers ;
5+ using Serilog . Enrichers . Claims ;
46using Serilog . Events ;
57using System . Security . Claims ;
68using Xunit ;
7- using Serilog . Enrichers . Claims ;
8- using Serilog . Core ;
9- using Serilog . Parsing ;
109
1110namespace Serilog . Enrichers . AzureClaims . Tests . Claims ;
1211
@@ -136,8 +135,8 @@ public void Enrich_ShouldReturn_WhenHttpContextIsNull()
136135 var customClaimEnricher = new ClaimEnricher ( httpContextAccessorMock , _customClaimType , _customClaimPropertyName ) ;
137136 var logEvent = new LogEvent (
138137 DateTimeOffset . Now ,
139- LogEventLevel . Information ,
140- null ,
138+ LogEventLevel . Information ,
139+ null ,
141140 new MessageTemplate ( [ ] ) , [ ]
142141 ) ;
143142
@@ -213,4 +212,5 @@ public void Enrich_ShouldReturn_WhenUserIsNotLoggedIn()
213212 // Assert
214213 Assert . Empty ( logEvent . Properties ) ;
215214 }
215+
216216}
You can’t perform that action at this time.
0 commit comments