[Rt-commit] r18231 - in rt/3.999/branches/merge_to_3.8.2: t/web

sunnavy at bestpractical.com sunnavy at bestpractical.com
Thu Feb 5 01:06:50 EST 2009


Author: sunnavy
Date: Thu Feb  5 01:06:50 2009
New Revision: 18231

Modified:
   rt/3.999/branches/merge_to_3.8.2/   (props changed)
   rt/3.999/branches/merge_to_3.8.2/t/web/custom_frontpage.t
   rt/3.999/branches/merge_to_3.8.2/t/web/custom_search.t

Log:
 r19599 at sunnavys-mb:  sunnavy | 2009-02-05 14:03:46 +0800
 updated tests since base_url does not contain the trailing / any more


Modified: rt/3.999/branches/merge_to_3.8.2/t/web/custom_frontpage.t
==============================================================================
--- rt/3.999/branches/merge_to_3.8.2/t/web/custom_frontpage.t	(original)
+++ rt/3.999/branches/merge_to_3.8.2/t/web/custom_frontpage.t	Thu Feb  5 01:06:50 2009
@@ -20,7 +20,7 @@
 
 ok $m->login( 'customer' => 'customer' ), "logged in";
 
-$m->get ( $url."Search/Build.html");
+$m->get ( $url."/Search/Build.html");
 
 #create a saved search
 $m->form_name('build_query');
@@ -29,12 +29,12 @@
 $m->field ( "saved_search_description" => 'stupid tickets');
 $m->click_button (name => 'saved_search_save');
 
-$m->get ( $url.'Prefs/MyRT.html' );
+$m->get ( $url.'/Prefs/MyRT.html' );
 $m->content_like (qr/stupid tickets/, 'saved search listed in rt at a glance items');
 
 ok $m->login, 'we did log in as root';
 
-$m->get ( $url.'Prefs/MyRT.html' );
+$m->get ( $url.'/Prefs/MyRT.html' );
 $m->form_name ('SelectionBox-body');
 # can't use submit form for mutli-valued select as it uses set_fields
 $m->field ('body-Selected' => ['component-QuickCreate', 'system-Unowned Tickets', 'system-My Tickets']);
@@ -44,7 +44,7 @@
 $m->get ( $url );
 $m->content_lacks ('highest priority tickets', 'remove everything from body pane');
 
-$m->get ( $url.'Prefs/MyRT.html' );
+$m->get ( $url.'/Prefs/MyRT.html' );
 $m->form_name ('SelectionBox-body');
 $m->field ('body-Available' => ['component-QuickCreate', 'system-Unowned Tickets', 'system-My Tickets']);
 $m->click_button (name => 'add');

Modified: rt/3.999/branches/merge_to_3.8.2/t/web/custom_search.t
==============================================================================
--- rt/3.999/branches/merge_to_3.8.2/t/web/custom_search.t	(original)
+++ rt/3.999/branches/merge_to_3.8.2/t/web/custom_search.t	Thu Feb  5 01:06:50 2009
@@ -20,7 +20,7 @@
 like ($t_link->url, qr/$id/, 'link to the ticket we Created');
 
 $m->content_lacks ('customsearch at localhost', 'requestor not displayed ');
-$m->get ( $url.'Prefs/MyRT.html' );
+$m->get ( $url.'/Prefs/MyRT.html' );
 my $cus_hp = $m->find_link( text => "My Tickets" );
 my $cus_qs = $m->find_link( text => "Quick search" );
 $m->get ($cus_hp);


More information about the Rt-commit mailing list