diff --git a/tests/Sitko.Core.Pdf.Tests/PdfTest.cs b/tests/Sitko.Core.Pdf.Tests/PdfTest.cs index e23dfe5f9..1d3bd27c5 100644 --- a/tests/Sitko.Core.Pdf.Tests/PdfTest.cs +++ b/tests/Sitko.Core.Pdf.Tests/PdfTest.cs @@ -18,7 +18,7 @@ public async Task Url() var scope = await GetScopeAsync(); var renderer = scope.GetService(); - var url = "https://github.com"; + var url = "https://www.wikipedia.org/"; var bytes = await renderer.GetPdfByUrlAsync(url); Assert.NotEmpty(bytes); @@ -26,7 +26,7 @@ public async Task Url() var text = PdfTextExtractor.GetTextFromPage(pdf.GetPage(1), new LocationTextExtractionStrategy()); pdf.Close(); - Assert.Contains("GitHub", text); + Assert.Contains("The Free Encyclopedia", text); } [Fact]