X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Ft%2Fapi%2Flink.t;h=3066388f2e06d3aeb148539e5ec75c887e048a6a;hb=1c538bfabc2cd31f27067505f0c3d1a46cba6ef0;hp=a9e54a71602809f72070af2ef2edb32c3156630a;hpb=4f5619288413a185e9933088d9dd8c5afbc55dfa;p=freeside.git 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 {