summaryrefslogtreecommitdiff
path: root/rt/t/api/link.t
diff options
context:
space:
mode:
Diffstat (limited to 'rt/t/api/link.t')
-rw-r--r--rt/t/api/link.t6
1 files changed, 2 insertions, 4 deletions
diff --git a/rt/t/api/link.t b/rt/t/api/link.t
index a9e54a716..3066388f2 100644
--- a/rt/t/api/link.t
+++ b/rt/t/api/link.t
@@ -1,7 +1,7 @@
use strict;
use warnings;
-use RT::Test nodata => 1, tests => 84;
+use RT::Test nodata => 1, tests => 83;
use RT::Test::Web;
use Test::Warn;
@@ -35,9 +35,7 @@ ok $cid, 'created a ticket #'. $cid or diag "error: $msg";
my ($status, $msg);
clean_links();
- warning_like {
- ($status, $msg) = $parent->AddLink;
- } qr/Base or Target must be specified/, "warned about linking a ticket to itself";
+ ($status, $msg) = $parent->AddLink;
ok(!$status, "didn't create a link: $msg");
warning_like {