[ci] Remove flaky test

The page found in the string was flaky and often unresponsive

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2023-08-25 23:44:08 +02:00
parent 1585df5e90
commit b5ad112de3
Signed by: luzifer
GPG Key ID: D91C3E91E4CAD6F5

View File

@ -102,19 +102,17 @@ func TestScanForLinks(t *testing.T) {
// Case: link is obfuscated using space // Case: link is obfuscated using space
{ {
Heuristic: true, Heuristic: true,
Message: "Take a look at example. com", Message: "Take a look on example. com",
ExpectedLinks: []string{ ExpectedLinks: []string{
"http://example.com", "http://example.com",
"http://www.atexample.com/",
}, },
}, },
// Case: link is obfuscated using space and braces // Case: link is obfuscated using space and braces
{ {
Heuristic: true, Heuristic: true,
Message: "Take a look at example. (com)", Message: "Take a look on example. (com)",
ExpectedLinks: []string{ ExpectedLinks: []string{
"http://example.com", "http://example.com",
"http://www.atexample.com/",
}, },
}, },
// Case: multiple links in one message // Case: multiple links in one message