@@ -255,7 +255,7 @@ public void Should_call_after_authorization_middleware()
255
255
} ,
256
256
} ;
257
257
258
- var port = RandomPortFinder . GetRandomPort ( ) ;
258
+ var port = PortFinder . GetRandomPort ( ) ;
259
259
260
260
var fileConfiguration = new FileConfiguration
261
261
{
@@ -280,7 +280,7 @@ public void Should_call_after_authorization_middleware()
280
280
} ;
281
281
282
282
this . Given ( x => x . GivenThereIsAServiceRunningOn ( $ "http://localhost:{ port } ", 200 , "" ) )
283
- . And ( x => _steps . GivenThereIsAConfiguration ( fileConfiguration , _configurationPath ) )
283
+ . And ( x => _steps . GivenThereIsAConfiguration ( fileConfiguration ) )
284
284
. And ( x => _steps . GivenOcelotIsRunning ( configuration ) )
285
285
. When ( x => _steps . WhenIGetUrlOnTheApiGateway ( "/" ) )
286
286
. Then ( x => _steps . ThenTheStatusCodeShouldBe ( HttpStatusCode . OK ) )
@@ -391,7 +391,7 @@ public void Should_call_after_http_authentication_middleware()
391
391
} ,
392
392
} ;
393
393
394
- var port = RandomPortFinder . GetRandomPort ( ) ;
394
+ var port = PortFinder . GetRandomPort ( ) ;
395
395
396
396
var fileConfiguration = new FileConfiguration
397
397
{
@@ -416,7 +416,7 @@ public void Should_call_after_http_authentication_middleware()
416
416
} ;
417
417
418
418
this . Given ( x => x . GivenThereIsAServiceRunningOn ( $ "http://localhost:{ port } ", 200 , "" ) )
419
- . And ( x => _steps . GivenThereIsAConfiguration ( fileConfiguration , _configurationPath ) )
419
+ . And ( x => _steps . GivenThereIsAConfiguration ( fileConfiguration ) )
420
420
. And ( x => _steps . GivenOcelotIsRunning ( configuration ) )
421
421
. When ( x => _steps . WhenIGetUrlOnTheApiGateway ( "/" ) )
422
422
. Then ( x => _steps . ThenTheStatusCodeShouldBe ( HttpStatusCode . OK ) )
0 commit comments