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

sunnavy at bestpractical.com sunnavy at bestpractical.com
Thu Jan 29 23:22:27 EST 2009


Author: sunnavy
Date: Thu Jan 29 23:22:26 2009
New Revision: 18080

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

Log:
 r19339 at sunnavys-mb:  sunnavy | 2009-01-30 09:53:48 +0800
 merged t/web/custom_search.t


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 Jan 29 23:22:26 2009
@@ -42,7 +42,12 @@
 $m->get ($cus_hp);
 
 $m->form_name('build_query');
-$m->field (current_display_columns => 'Requestors');
+
+my $cdc = $m->current_form->find_input('current_display_columns');
+my ($requestor_value) = grep { /Requestor/ } $cdc->possible_values;
+ok($requestor_value, "got the requestor value");
+
+$m->field (current_display_columns => $requestor_value);
 $m->click_button (name => 'remove_col') ;
 
 $m->form_name('build_query');


More information about the Rt-commit mailing list