[Rt-commit] rt branch, 3.9-trunk, updated. rt-3.9.6-389-gf764e80

Thomas Sibley trs at bestpractical.com
Mon Dec 6 15:58:32 EST 2010


The branch, 3.9-trunk has been updated
       via  f764e807907e22af069013aecc6ed071dd59d556 (commit)
      from  d8eba45ae5cddba9c9c7fa76d2062b955d36ea52 (commit)

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

- Log -----------------------------------------------------------------
commit f764e807907e22af069013aecc6ed071dd59d556
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Mon Dec 6 15:51:57 2010 -0500

    Revert "Fix tests to account for my menu changes"
    
    This reverts commit 9290a0240076bbe58d5555cbc1fc448e489c208e.
    
    Conflicts:
    
    	t/web/walk.t
    
    This commit should have been reverted when I reverted the commits which
    made the menu changes in the first place.

diff --git a/t/web/rights1.t b/t/web/rights1.t
index e127877..e4af752 100644
--- a/t/web/rights1.t
+++ b/t/web/rights1.t
@@ -52,7 +52,7 @@ ok ($grantid,$grantmsg);
 $agent->reload();
 $agent->content_contains('Logout', "Reloaded page successfully");
 ok($agent->find_link( 
-		       id => 'preferences-options' ), "Found prefs pane" );
+		       id => 'preferences-settings' ), "Found prefs pane" );
 ($revokeid,$revokemsg) = $user_obj->PrincipalObj->RevokeRight(Right => 'ModifySelf');
 ok ($revokeid,$revokemsg);
 # Good.  Now load the search page and test Load/Save Search.
diff --git a/t/web/walk.t b/t/web/walk.t
index 5a8c075..c449d9d 100644
--- a/t/web/walk.t
+++ b/t/web/walk.t
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-use RT::Test tests => 95;
+use RT::Test tests => 96;
 
 my ( $baseurl, $m ) = RT::Test->started_ok;
 
@@ -166,9 +166,9 @@ diag 'walk into /Approvals' if $ENV{TEST_VERBOSE};
 diag 'walk into /Prefs' if $ENV{TEST_VERBOSE};
 {
     for my $id (
-        'about_me', 'search_options', 'myrt', 'quicksearch',
-        'saved-searches-search-0', 'saved-searches-search-1',
-        'saved-searches-search-2', 'logout'
+        'settings',    'settings-about_me', 'settings-search_options', 'settings-myrt',
+        'settings-quicksearch', 'settings-saved-searches-search-0', 'settings-saved-searches-search-1',       'settings-saved-searches-search-2',
+        'logout'
       )
     {
         $m->follow_link_ok( { id => 'preferences-' . $id }, "-> $id" );

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


More information about the Rt-commit mailing list