From 3671e7f18c94f7d42dae2803746d2f6fc6323a0c Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Fri, 15 Oct 2021 14:19:40 +0900 Subject: [PATCH] Fix test --- BTCPayServer.Tests/UnitTest1.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/BTCPayServer.Tests/UnitTest1.cs b/BTCPayServer.Tests/UnitTest1.cs index 9d44ef4e3..70847219a 100644 --- a/BTCPayServer.Tests/UnitTest1.cs +++ b/BTCPayServer.Tests/UnitTest1.cs @@ -370,9 +370,8 @@ namespace BTCPayServer.Tests foreach (var match in regex.Matches(text).OfType()) { var url = match.Groups[1].Value; - if (urlBlacklist.Any(a => a.StartsWith(url.ToLowerInvariant()))) + if (urlBlacklist.Any(a => url.StartsWith(a.ToLowerInvariant()))) continue; - checkLinks.Add(AssertLinkNotDead(httpClient, url, file)); }