mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-06-18 22:08:16 +08:00
Feature/hacking consul file config (#157)
* moving things around to see if I can get consul to store fileconfiguration rather than ocelotconfiguration * more refactoring to see if we can get a test for the feature * acceptance test passing for updating in consul..need to sort object comparison out * fixed the failing tests
This commit is contained in:
@ -107,12 +107,12 @@ namespace Ocelot.UnitTests.Controllers
|
||||
{
|
||||
_configGetter
|
||||
.Setup(x => x.Get())
|
||||
.Returns(fileConfiguration);
|
||||
.ReturnsAsync(fileConfiguration);
|
||||
}
|
||||
|
||||
private void WhenIGetTheFileConfiguration()
|
||||
{
|
||||
_result = _controller.Get();
|
||||
_result = _controller.Get().Result;
|
||||
}
|
||||
|
||||
private void TheTheGetFileConfigurationIsCalledCorrectly()
|
||||
|
Reference in New Issue
Block a user