working on region clearing cache, if using cachemanager back plance this would clear all servers in cluster

This commit is contained in:
Tom Gardham-Pallister
2017-06-26 19:10:20 +01:00
parent 26e7621798
commit 239dcfb6bd
8 changed files with 155 additions and 12 deletions

View File

@ -124,7 +124,7 @@ namespace Ocelot.UnitTests.Cache
private void ThenTheCacheAddIsCalledCorrectly()
{
_cacheManager
.Verify(x => x.Add(It.IsAny<string>(), It.IsAny<HttpResponseMessage>(), It.IsAny<TimeSpan>()), Times.Once);
.Verify(x => x.Add(It.IsAny<string>(), It.IsAny<HttpResponseMessage>(), It.IsAny<TimeSpan>(), It.IsAny<string>()), Times.Once);
}
private void GivenResponseIsNotCached()