diff options
| author | Ivan Kohler <ivan@freeside.biz> | 2012-06-30 01:03:13 -0700 |
|---|---|---|
| committer | Ivan Kohler <ivan@freeside.biz> | 2012-06-30 01:03:13 -0700 |
| commit | f3c4966ed1f6ec3db7accd6dcdd3a5a3821d72a7 (patch) | |
| tree | e5e9a077260613e6117d4697dd2985abd9b03d34 /rt/t/api/uri-t.t | |
| parent | cf7cd8efc7095aadbdfb0cd8e7ea0e2e8b9e9085 (diff) | |
| parent | cd3eb95ed1f3dc3e04cfc2b3b405f75b3ab086da (diff) | |
merging RT 4.0.6
Diffstat (limited to 'rt/t/api/uri-t.t')
| -rw-r--r-- | rt/t/api/uri-t.t | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/rt/t/api/uri-t.t b/rt/t/api/uri-t.t index 4695629bb..61b3e1761 100644 --- a/rt/t/api/uri-t.t +++ b/rt/t/api/uri-t.t @@ -3,12 +3,12 @@ use warnings; use RT; use RT::Test tests => 6; -my $t1 = RT::Ticket->new($RT::SystemUser); +my $t1 = RT::Ticket->new(RT->SystemUser); my ($id,$trans,$msg) =$t1->Create (Queue => 'general', Subject => 'Requestor test one', ); ok ($id, $msg); use_ok("RT::URI::t"); -my $uri = RT::URI::t->new($RT::SystemUser); +my $uri = RT::URI::t->new(RT->SystemUser); ok(ref($uri), "URI object exists"); my $uristr = "t:1"; @@ -18,4 +18,3 @@ is($uri->Object->Id, 1, "Object loaded has correct ID"); is($uri->URI, 'fsck.com-rt://'.RT->Config->Get('Organization').'/ticket/1', "URI object has correct URI string"); -1; |
