Changeset 1334


Ignore:
Timestamp:
Apr 13, 2012, 7:18:40 PM (10 years ago)
Author:
bob
Message:

remove warnings caused havign more mys than we need now.

Location:
trunk/t
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/t/34_search_paging.t

    r1328 r1334  
    6868    # in order to force it to create a fresh locator.
    6969    $config->geo_handler( 2 );
    70     my $search = OpenGuides::Search->new( config => $config );
     70    $search = OpenGuides::Search->new( config => $config );
    7171
    7272    foreach my $i ( 1 .. 50 ) {
     
    7979    }
    8080   
    81     my $output = $search->run(
     81    $output = $search->run(
    8282                               return_output => 1,
    8383                               vars          => {
     
    106106    # in order to force it to create a fresh locator.
    107107    $config->geo_handler( 3 );
    108     my $search = OpenGuides::Search->new( config => $config );
     108    $search = OpenGuides::Search->new( config => $config );
    109109
    110110    foreach my $i ( 1 .. 50 ) {
     
    117117    }
    118118   
    119     my $output = $search->run(
     119    $output = $search->run(
    120120                               return_output => 1,
    121121                               vars          => {
  • trunk/t/62_bug_trailing_whitespace.t

    r1328 r1334  
    4141
    4242    $config->geo_handler( 2 );
    43     my $q = CGI->new( "" );
     43    $q = CGI->new( "" );
    4444    $q->param( -name => "osie_x", -value => " 100000 " );
    4545    $q->param( -name => "osie_y", -value => " 200000 " );
     
    4747    $q->param( -name => "locales", -value => "" );    #avoid uninit val warning
    4848
    49     my %metadata_vars = OpenGuides::Template->extract_metadata_vars(
     49    %metadata_vars = OpenGuides::Template->extract_metadata_vars(
    5050        wiki    => $guide->wiki,
    5151        config  => $config,
     
    5858
    5959    $config->geo_handler( 3 );
    60     my $q = CGI->new( "" );
     60    $q = CGI->new( "" );
    6161    $q->param( -name => "latitude", -value => " 1.463113 " );
    6262    $q->param( -name => "longitude", -value => " -0.215293 " );
     
    6464    $q->param( -name => "locales", -value => "" );    #avoid uninit val warning
    6565
    66     my %metadata_vars = OpenGuides::Template->extract_metadata_vars(
     66    %metadata_vars = OpenGuides::Template->extract_metadata_vars(
    6767        wiki    => $guide->wiki,
    6868        config  => $config,
  • trunk/t/87_more_recent_changes.t

    r1333 r1334  
    136136
    137137# set show_minor_edits to 0.
    138 my $cookie = OpenGuides::CGI->make_prefs_cookie(
     138$cookie = OpenGuides::CGI->make_prefs_cookie(
    139139    config                     => $config,
    140140    username                   => "bob",
Note: See TracChangeset for help on using the changeset viewer.