Added test coverage around responder middleware, and refactored these to not use test server.

This commit is contained in:
Philip Wood
2017-07-11 18:45:53 +01:00
parent c173f3bb45
commit b0c12431d6
7 changed files with 281 additions and 43 deletions

View File

@ -0,0 +1,15 @@
using Ocelot.Errors;
namespace Ocelot.UnitTests.Responder
{
class AnyError : Error
{
public AnyError() : base("blahh", OcelotErrorCode.UnknownError)
{
}
public AnyError(OcelotErrorCode errorCode) : base("blah", errorCode)
{
}
}
}