diff options
Diffstat (limited to 'rt/t/api/rt.t')
-rw-r--r-- | rt/t/api/rt.t | 11 |
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; |