@@ -533,7 +533,7 @@ public void ThenTheReasonPhraseIs(string expected)
533533
534534 public void GivenOcelotIsRunningWithServices ( Action < IServiceCollection > configureServices )
535535 => GivenOcelotIsRunningWithServices ( configureServices , null ) ;
536-
536+
537537 public void GivenOcelotIsRunningWithServices ( Action < IServiceCollection > configureServices , Action < IApplicationBuilder > configureApp /*, bool validateScopes*/ )
538538 {
539539 _webHostBuilder = TestHostBuilder . Create ( ) // ValidateScopes = true
@@ -543,7 +543,7 @@ public void GivenOcelotIsRunningWithServices(Action<IServiceCollection> configur
543543 _ocelotServer = new TestServer ( _webHostBuilder ) ;
544544 _ocelotClient = _ocelotServer . CreateClient ( ) ;
545545 }
546-
546+
547547 public void WithBasicConfiguration ( WebHostBuilderContext hosting , IConfigurationBuilder config )
548548 {
549549 var env = hosting . HostingEnvironment ;
@@ -553,7 +553,7 @@ public void WithBasicConfiguration(WebHostBuilderContext hosting, IConfiguration
553553 config . AddJsonFile ( _ocelotConfigFileName , true , false ) ;
554554 config . AddEnvironmentVariables ( ) ;
555555 }
556-
556+
557557 public static void WithAddOcelot ( IServiceCollection services ) => services . AddOcelot ( ) ;
558558 public static void WithUseOcelot ( IApplicationBuilder app ) => app . UseOcelot ( ) . Wait ( ) ;
559559
@@ -584,7 +584,7 @@ public void GivenOcelotIsRunning(OcelotPipelineConfiguration ocelotPipelineConfi
584584
585585 _ocelotClient = _ocelotServer . CreateClient ( ) ;
586586 }
587-
587+
588588 public void GivenIHaveAddedATokenToMyRequest ( )
589589 {
590590 _ocelotClient . DefaultRequestHeaders . Authorization = new AuthenticationHeaderValue ( "Bearer" , _token . AccessToken ) ;
@@ -647,7 +647,7 @@ public void GivenOcelotIsRunningWithMinimumLogLevel(Logger logger, string appset
647647 . Configure ( async app =>
648648 {
649649 app . Use ( async ( context , next ) =>
650- {
650+ {
651651 var loggerFactory = context . RequestServices . GetService < IOcelotLoggerFactory > ( ) ;
652652 var ocelotLogger = loggerFactory . CreateLogger < Steps > ( ) ;
653653 ocelotLogger . LogDebug ( ( ) => $ "DEBUG: { nameof ( ocelotLogger ) } , { nameof ( loggerFactory ) } ") ;
0 commit comments