diff options
author | cvs2git <cvs2git> | 2010-12-27 00:04:45 +0000 |
---|---|---|
committer | cvs2git <cvs2git> | 2010-12-27 00:04:45 +0000 |
commit | c82d349f864e6bd9f96fd1156903bc1f7193a203 (patch) | |
tree | e117a87533656110b6acd56fc0ca64289892a9f5 /rt/t/api/uri-t.t | |
parent | 74e058c8a010ef6feb539248a550d0bb169c1e94 (diff) |
This commit was manufactured by cvs2svn to create tag 'TORRUS_1_0_9'.TORRUS_1_0_9
Diffstat (limited to 'rt/t/api/uri-t.t')
-rw-r--r-- | rt/t/api/uri-t.t | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/rt/t/api/uri-t.t b/rt/t/api/uri-t.t deleted file mode 100644 index 4695629bb..000000000 --- a/rt/t/api/uri-t.t +++ /dev/null @@ -1,21 +0,0 @@ -use strict; -use warnings; -use RT; -use RT::Test tests => 6; - -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); -ok(ref($uri), "URI object exists"); - -my $uristr = "t:1"; -$uri->ParseURI($uristr); -is(ref($uri->Object), "RT::Ticket", "Object loaded is a ticket"); -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; |