Fix various violations

SA1216, CS0105, CS0169, CS0414, CS0649
This commit is contained in:
Philip Wood
2018-03-03 14:08:52 +00:00
parent a64e263a26
commit 50980fda93
17 changed files with 4 additions and 54 deletions

View File

@ -42,7 +42,7 @@ namespace Ocelot.UnitTests.Responder
[InlineData(OcelotErrorCode.RequestTimedOutError)]
public void should_return_service_unavailable(OcelotErrorCode errorCode)
{
ShouldMapErrorToStatusCode(OcelotErrorCode.RequestTimedOutError, HttpStatusCode.ServiceUnavailable);
ShouldMapErrorToStatusCode(errorCode, HttpStatusCode.ServiceUnavailable);
}
[Theory]