[Rt-commit] rt branch, 3.999-trunk, updated. 6cfc7fa5331aa26987138913485b0af775bf18ce

sunnavy at bestpractical.com sunnavy at bestpractical.com
Fri Nov 6 07:09:37 EST 2009


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/",

-----------------------------------------------------------------------


More information about the Rt-commit mailing list