@@ -419,7 +419,7 @@ async static (logCollector, client) =>
419419
420420 Assert . Equal ( 9 , state ! . Count ) ;
421421 Assert . Single ( state , x => x . Key == TestHttpLogEnricher . Key1 && x . Value == TestHttpLogEnricher . Value1 ) ;
422- Assert . Single ( state , x => x . Key == TestHttpLogEnricher . Key2 && x . Value == TestHttpLogEnricher . Value2 . ToString ( CultureInfo . CurrentCulture ) ) ;
422+ Assert . Single ( state , x => x . Key == TestHttpLogEnricher . Key2 && x . Value == TestHttpLogEnricher . Value2 . ToString ( CultureInfo . InvariantCulture ) ) ;
423423 Assert . Single ( state , x => x . Key == HttpLoggingTagNames . Method && x . Value == HttpMethod . Delete . ToString ( ) ) ;
424424 Assert . DoesNotContain ( state , x => x . Key == HttpLoggingTagNames . RequestBody ) ;
425425 Assert . DoesNotContain ( state , x => x . Key == HttpLoggingTagNames . ResponseBody ) ;
@@ -493,11 +493,11 @@ async static (logCollector, client) =>
493493
494494 Assert . Equal ( 5 , firstState ! . Count ) ;
495495 Assert . DoesNotContain ( firstState , x => x . Key == TestHttpLogEnricher . Key1 && x . Value == TestHttpLogEnricher . Value1 ) ;
496- Assert . DoesNotContain ( firstState , x => x . Key == TestHttpLogEnricher . Key2 && x . Value == TestHttpLogEnricher . Value2 . ToString ( CultureInfo . CurrentCulture ) ) ;
496+ Assert . DoesNotContain ( firstState , x => x . Key == TestHttpLogEnricher . Key2 && x . Value == TestHttpLogEnricher . Value2 . ToString ( CultureInfo . InvariantCulture ) ) ;
497497
498498 Assert . Equal ( 3 , secondState ! . Count ) ;
499499 Assert . Single ( secondState , x => x . Key == TestHttpLogEnricher . Key1 && x . Value == TestHttpLogEnricher . Value1 ) ;
500- Assert . Single ( secondState , x => x . Key == TestHttpLogEnricher . Key2 && x . Value == TestHttpLogEnricher . Value2 . ToString ( CultureInfo . CurrentCulture ) ) ;
500+ Assert . Single ( secondState , x => x . Key == TestHttpLogEnricher . Key2 && x . Value == TestHttpLogEnricher . Value2 . ToString ( CultureInfo . InvariantCulture ) ) ;
501501 } ) ;
502502 }
503503
0 commit comments