summaryrefslogtreecommitdiff
path: root/rt/t/api/rt.t
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2012-04-24 11:35:56 -0700
committerIvan Kohler <ivan@freeside.biz>2012-04-24 11:35:56 -0700
commit6587f6ba7d047ddc1686c080090afe7d53365bd4 (patch)
treeec77342668e8865aca669c9b4736e84e3077b523 /rt/t/api/rt.t
parent47153aae5c2fc00316654e7277fccd45f72ff611 (diff)
first pass RT4 merge, RT#13852
Diffstat (limited to 'rt/t/api/rt.t')
-rw-r--r--rt/t/api/rt.t11
1 files changed, 5 insertions, 6 deletions
diff --git a/rt/t/api/rt.t b/rt/t/api/rt.t
index 3c06b5848..51c776250 100644
--- a/rt/t/api/rt.t
+++ b/rt/t/api/rt.t
@@ -2,17 +2,16 @@
use strict;
use warnings;
use RT;
-use RT::Test tests => 4;
+use RT::Test nodata => 1, tests => 4;
{
-is ($RT::Nobody->Name() , 'Nobody', "Nobody is nobody");
-isnt ($RT::Nobody->Name() , 'root', "Nobody isn't named root");
-is ($RT::SystemUser->Name() , 'RT_System', "The system user is RT_System");
-isnt ($RT::SystemUser->Name() , 'noname', "The system user isn't noname");
+is (RT->Nobody->Name() , 'Nobody', "Nobody is nobody");
+isnt (RT->Nobody->Name() , 'root', "Nobody isn't named root");
+is (RT->SystemUser->Name() , 'RT_System', "The system user is RT_System");
+isnt (RT->SystemUser->Name() , 'noname', "The system user isn't noname");
}
-1;