made upstream template use template path object

This commit is contained in:
Tom Gardham-Pallister
2017-02-07 07:54:03 +00:00
parent 1671fadea3
commit 6ad27ec17d
3 changed files with 3 additions and 3 deletions

View File

@ -101,7 +101,7 @@ namespace Ocelot.UnitTests.DownstreamUrlCreator
{
_downstreamPath = new OkResponse<DownstreamPath>(new DownstreamPath(downstreamUrl));
_downstreamUrlTemplateVariableReplacer
.Setup(x => x.Replace(It.IsAny<DownstreamPathTemplate>(), It.IsAny<List<UrlPathPlaceholderNameAndValue>>()))
.Setup(x => x.Replace(It.IsAny<PathTemplate>(), It.IsAny<List<UrlPathPlaceholderNameAndValue>>()))
.Returns(_downstreamPath);
}