summaryrefslogtreecommitdiff
path: root/rt/t/api/system.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/system.t
parent47153aae5c2fc00316654e7277fccd45f72ff611 (diff)
first pass RT4 merge, RT#13852
Diffstat (limited to 'rt/t/api/system.t')
-rw-r--r--rt/t/api/system.t5
1 files changed, 2 insertions, 3 deletions
diff --git a/rt/t/api/system.t b/rt/t/api/system.t
index 3077115c7..f1100d332 100644
--- a/rt/t/api/system.t
+++ b/rt/t/api/system.t
@@ -2,12 +2,12 @@
use strict;
use warnings;
use RT;
-use RT::Test tests => 7;
+use RT::Test nodata => 1, tests => 7;
{
-my $s = RT::System->new($RT::SystemUser);
+my $s = RT::System->new(RT->SystemUser);
my $rights = $s->AvailableRights;
ok ($rights, "Rights defined");
ok ($rights->{'AdminUsers'},"AdminUsers right found");
@@ -30,4 +30,3 @@ is ($sys->id, 1);
}
-1;