mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-06-19 21:28:15 +08:00
Fix multiple statements on single line
SA1107
This commit is contained in:
@ -25,7 +25,7 @@ namespace Ocelot.AcceptanceTests
|
||||
public CustomMiddlewareTests()
|
||||
{
|
||||
_counter = 0;
|
||||
_steps = new Steps();;
|
||||
_steps = new Steps();
|
||||
_configurationPath = "configuration.json";
|
||||
}
|
||||
|
||||
@ -357,7 +357,7 @@ namespace Ocelot.AcceptanceTests
|
||||
}
|
||||
else if(context.Request.Path.Value != basePath)
|
||||
{
|
||||
context.Response.StatusCode = 404;;
|
||||
context.Response.StatusCode = 404;
|
||||
}
|
||||
|
||||
return Task.CompletedTask;
|
||||
|
@ -588,7 +588,8 @@ namespace Ocelot.UnitTests.Configuration
|
||||
AuthenticationOptions = new FileAuthenticationOptions()
|
||||
{
|
||||
AuthenticationProviderKey = "Test"
|
||||
} }
|
||||
}
|
||||
}
|
||||
}
|
||||
}))
|
||||
.When(x => x.WhenIValidateTheConfiguration())
|
||||
|
Reference in New Issue
Block a user