mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-01-19 05:33:31 +01:00
Fix test
This commit is contained in:
parent
899bf98f45
commit
3671e7f18c
@ -370,9 +370,8 @@ namespace BTCPayServer.Tests
|
||||
foreach (var match in regex.Matches(text).OfType<Match>())
|
||||
{
|
||||
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));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user