made upstream template use template path object

This commit is contained in:
Tom Gardham-Pallister
2017-02-07 07:53:41 +00:00
parent b4ef277c3e
commit 1671fadea3
6 changed files with 13 additions and 13 deletions

View File

@ -143,7 +143,7 @@ namespace Ocelot.UnitTests.DownstreamRouteFinder
private void ThenTheUrlMatcherIsCalledCorrectly()
{
_mockMatcher
.Verify(x => x.Match(_upstreamUrlPath, _reRoutesConfig[0].UpstreamTemplate), Times.Once);
.Verify(x => x.Match(_upstreamUrlPath, _reRoutesConfig[0].UpstreamTemplate.Value), Times.Once);
}
private void GivenTheUrlMatcherReturns(Response<UrlMatch> match)