mirror of
				https://github.com/nsnail/Ocelot.git
				synced 2025-11-04 12:50:49 +08:00 
			
		
		
		
	allowing people to inject functions as custom middleware
This commit is contained in:
		@@ -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]
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user