allowing people to inject functions as custom middleware

This commit is contained in:
tom.pallister
2016-10-19 19:32:05 +01:00
parent b8951c4698
commit ab5d7fa33d
10 changed files with 320 additions and 30 deletions

View File

@ -26,7 +26,7 @@ namespace Ocelot.UnitTests.Configuration
{
_creator = new Mock<IOcelotConfigurationCreator>();
_configurationRepository = new Mock<IOcelotConfigurationRepository>();
_ocelotConfigurationProvider = new YamlOcelotConfigurationProvider(_configurationRepository.Object, _creator.Object);
_ocelotConfigurationProvider = new OcelotConfigurationProvider(_configurationRepository.Object, _creator.Object);
}
[Fact]