From d78aa938eb55ecefb25fb9823be6dc5b8cd1f0ff Mon Sep 17 00:00:00 2001 From: cairnsj <51908793+cairnsj@users.noreply.github.com> Date: Thu, 16 Nov 2023 13:13:07 +0000 Subject: [PATCH] Update ContentLinkRendererTests.cs --- .../Contentful/Renderers/ContentLinkRendererTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();