diff options
Diffstat (limited to 'rt/t/security/CVE-2011-2083-clickable-xss.t')
-rw-r--r-- | rt/t/security/CVE-2011-2083-clickable-xss.t | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/rt/t/security/CVE-2011-2083-clickable-xss.t b/rt/t/security/CVE-2011-2083-clickable-xss.t index 008c803..753d8c7 100644 --- a/rt/t/security/CVE-2011-2083-clickable-xss.t +++ b/rt/t/security/CVE-2011-2083-clickable-xss.t @@ -25,7 +25,7 @@ for my $link ( map { ($_, ucfirst $_) } @links ) { Type => 'RefersTo', Target => $link, ); - } [qr/Could not determine a URI scheme/, qr/Couldn't resolve/]; + } [qr/Could not determine a URI scheme/]; ok !$ok, $msg; ok $m->login, "logged in"; @@ -40,7 +40,6 @@ for my $link ( map { ($_, ucfirst $_) } @links ) { }, 'submitted links page'); $m->content_contains("Couldn't resolve "); $m->next_warning_like(qr/Could not determine a URI scheme/, 'expected warning'); - $m->next_warning_like(qr/Couldn't resolve/, 'expected warning'); my $element = $m->find_link( url => $link ); ok !$element, "no <a> link"; |