
sunnavy at bestpractical
Nov 6, 2009, 4:09 AM
Post #1 of 1
(82 views)
Permalink
|
|
rt branch, 3.999-trunk, updated. 6cfc7fa5331aa26987138913485b0af775bf18ce
|
|
The branch, 3.999-trunk has been updated via 6cfc7fa5331aa26987138913485b0af775bf18ce (commit) from 1e1e66f84cb43884f4f5df8a3c50efd4b59d7d99 (commit) Summary of changes: t/web/rights1.t | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) - Log ----------------------------------------------------------------- commit 6cfc7fa5331aa26987138913485b0af775bf18ce Author: sunnavy <sunnavy[at]bestpractical.com> Date: Fri Nov 6 20:07:59 2009 +0800 fix warnings in t/web/rights1.t diff --git a/t/web/rights1.t b/t/web/rights1.t index 83b1360..858a7e0 100644 --- a/t/web/rights1.t +++ b/t/web/rights1.t @@ -42,7 +42,8 @@ my ($grantid,$grantmsg) =$user_obj->principal->grant_right(right => 'ShowConfigT ok($grantid,$grantmsg); -$agent->reload; +# instead of $agent->reload so $agent won't try to login again +$agent->get( $agent->uri ); like($agent->{'content'} , qr/Logout/i, "Reloaded page successfully"); ok($agent->find_link( url => RT->config->get('web_path') . "/Admin/", ----------------------------------------------------------------------- _______________________________________________ Rt-commit mailing list Rt-commit[at]lists.bestpractical.com http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-commit
|