RT 4.2.11, ticket#13852
[freeside.git] / rt / t / security / CVE-2011-2083-clickable-xss.t
index 008c803..753d8c7 100644 (file)
@@ -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";