X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Ft%2Fapi%2Frt.t;fp=rt%2Ft%2Fapi%2Frt.t;h=51c776250ee556dfc3926bd8159259d4142f07dd;hb=33beebf4cb42eba3e1dd868ad5e0af102de961da;hp=3c06b5848a144898c7fd4ca2e8db055b98a6580e;hpb=7ac86daf67b0a95153b736d5811f9050363f6553;p=freeside.git 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;