[Rt-commit] rt branch, admin_ui, updated. 91155149554b281337cc449260ba13b83c5d48fe

sunnavy at bestpractical.com sunnavy at bestpractical.com
Thu Dec 31 06:04:59 EST 2009


The branch, admin_ui has been updated
       via  91155149554b281337cc449260ba13b83c5d48fe (commit)
      from  45a03e83a78bc4ee0333b837693eac3c48d5040e (commit)

Summary of changes:
 t/web/rights1.t |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

- Log -----------------------------------------------------------------
commit 91155149554b281337cc449260ba13b83c5d48fe
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Thu Dec 31 19:04:40 2009 +0800

    url fix: /Admin/ => /admin/

diff --git a/t/web/rights1.t b/t/web/rights1.t
index 858a7e0..4e51ad7 100644
--- a/t/web/rights1.t
+++ b/t/web/rights1.t
@@ -31,7 +31,7 @@ no warnings 'once';
 # get the top page
 $agent->login($user_obj->name => 'customer');
 # Test for absence of Configure and Preferences tabs.
-ok(!$agent->find_link( url => RT->config->get('web_path') . "/Admin/",
+ok(!$agent->find_link( url => RT->config->get('web_path') . "/admin/",
 		       text => 'Configuration'), "No config tab" );
 ok(!$agent->find_link( url => RT->config->get('web_path') . "/User/Prefs.html",
 		       text => 'Preferences'), "No prefs pane" );
@@ -46,7 +46,7 @@ ok($grantid,$grantmsg);
 $agent->get( $agent->uri ); 
 
 like($agent->{'content'} , qr/Logout/i, "Reloaded page successfully");
-ok($agent->find_link( url => RT->config->get('web_path') . "/Admin/",
+ok($agent->find_link( url => RT->config->get('web_path') . "/admin/",
 		       text => 'Configuration'), "Found config tab" );
 my ($revokeid,$revokemsg) =$user_obj->principal->revoke_right(right => 'ShowConfigTab');
 ok ($revokeid,$revokemsg);

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


More information about the Rt-commit mailing list