Skip to content

Commit

Permalink
Capture the permission warning for inline test mode
Browse files Browse the repository at this point in the history
As we restart server below, the test doesn't fail in other test modes,
but does fail in inline mode.
  • Loading branch information
sunnavy committed Sep 13, 2021
1 parent 60cf513 commit 92ff0e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions t/web/admin_tools_editconfig.t
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ $m->follow_link_ok( { text => 'System Configuration' }, 'followed link to "Syste
ok( !$m->find_link( text => 'Edit' ), 'no edit link' );
$m->get_ok('/Admin/Tools/EditConfig.html');
$m->content_contains('Permission Denied');
$m->warning_like( qr/Permission Denied/, 'Permission denied warning' );

RT::Test->stop_server;
RT->Config->Set( ShowEditSystemConfig => 1 );
Expand Down

0 comments on commit 92ff0e3

Please sign in to comment.