diff options
| author | Ivan Kohler <ivan@freeside.biz> | 2015-07-09 22:32:26 -0700 |
|---|---|---|
| committer | Ivan Kohler <ivan@freeside.biz> | 2015-07-09 22:32:26 -0700 |
| commit | 026dc7ad72ba972f230b6709e31fa64397d75ad4 (patch) | |
| tree | c5af1a7ac9154744afc3660e9a9405892f2bb50b /rt/t/web/self_service.t | |
| parent | 07b4bc84d1078f7390221d766cdb3142513db4b0 (diff) | |
| parent | 1c538bfabc2cd31f27067505f0c3d1a46cba6ef0 (diff) | |
merge RT 4.2.11 and Header changes to disable RT javascript, RT#34237
Diffstat (limited to 'rt/t/web/self_service.t')
| -rw-r--r-- | rt/t/web/self_service.t | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/rt/t/web/self_service.t b/rt/t/web/self_service.t index adc90d776..7afc008c6 100644 --- a/rt/t/web/self_service.t +++ b/rt/t/web/self_service.t @@ -18,9 +18,8 @@ ok( $user_a && $user_a->id, 'loaded or created user' ); ok( ! $user_a->Privileged, 'user is not privileged' ); # Load Cc group -my $Cc = RT::Group->new( RT->SystemUser ); -my($ok, $msg) = $Cc->LoadSystemRoleGroup( 'Cc' ); -ok($ok, $msg); +my $Cc = RT::System->RoleGroup( 'Cc' ); +ok($Cc->id); RT::Test->add_rights( { Principal => $Cc, Right => ['ShowTicket'] } ); my ($ticket) = RT::Test->create_ticket( |
