diff options
Diffstat (limited to 'rt/t/api/system.t')
-rw-r--r-- | rt/t/api/system.t | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/rt/t/api/system.t b/rt/t/api/system.t deleted file mode 100644 index 3077115c7..000000000 --- a/rt/t/api/system.t +++ /dev/null @@ -1,33 +0,0 @@ - -use strict; -use warnings; -use RT; -use RT::Test tests => 7; - - -{ - -my $s = RT::System->new($RT::SystemUser); -my $rights = $s->AvailableRights; -ok ($rights, "Rights defined"); -ok ($rights->{'AdminUsers'},"AdminUsers right found"); -ok ($rights->{'CreateTicket'},"CreateTicket right found"); -ok ($rights->{'AdminGroupMembership'},"ModifyGroupMembers right found"); -ok (!$rights->{'CasdasdsreateTicket'},"bogus right not found"); - - - - -} - -{ - -use RT::System; -my $sys = RT::System->new(); -is( $sys->Id, 1); -is ($sys->id, 1); - - -} - -1; |