diff --git a/Childrens-Social-Care-CPD-Tests/Contentful/Renderers/ContentLinkRendererTests.cs b/Childrens-Social-Care-CPD-Tests/Contentful/Renderers/ContentLinkRendererTests.cs index abcbb6ee..93223f53 100644 --- a/Childrens-Social-Care-CPD-Tests/Contentful/Renderers/ContentLinkRendererTests.cs +++ b/Childrens-Social-Care-CPD-Tests/Contentful/Renderers/ContentLinkRendererTests.cs @@ -26,7 +26,7 @@ public void ContentLink_Renders(string uri, string expectedUri) }; // act - var htmlContent = _sut.Render(contentLink); + var htmlContent = (_sut as IRenderer).Render(contentLink); htmlContent.WriteTo(stringWriter, new HtmlTestEncoder()); var actual = stringWriter.ToString();