diff options
author | Ivan Kohler <ivan@freeside.biz> | 2015-07-09 22:18:55 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2015-07-09 22:18:55 -0700 |
commit | 1c538bfabc2cd31f27067505f0c3d1a46cba6ef0 (patch) | |
tree | 96922ad4459eda1e649327fd391d60c58d454c53 /rt/t/api/link.t | |
parent | 4f5619288413a185e9933088d9dd8c5afbc55dfa (diff) |
RT 4.2.11, ticket#13852
Diffstat (limited to 'rt/t/api/link.t')
-rw-r--r-- | rt/t/api/link.t | 6 |
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 { |