mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-08-04 23:32:26 +08:00
refactoring placeholder tuff
This commit is contained in:
@ -29,7 +29,7 @@
|
||||
{
|
||||
this.Given(x => x.GivenTheDownStreamRouteIs(
|
||||
new DownstreamRoute(
|
||||
new List<UrlPathPlaceholderNameAndValue>(),
|
||||
new List<PlaceholderNameAndValue>(),
|
||||
new ReRouteBuilder().WithUpstreamHttpMethod(new List<string> { "Get" }).Build())))
|
||||
.When(x => x.WhenICallTheMiddleware())
|
||||
.Then(x => x.ThenTheUserIsAuthenticated())
|
||||
|
Reference in New Issue
Block a user