Ignore:
Timestamp:
Dec 14, 2004, 6:46:00 PM (17 years ago)
Author:
kake
Message:

Encapsulate config data in OpenGuides::Config.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/t/26_geo_data_search_form.t

    r586 r587  
    4343CGI::Wiki::Setup::SQLite::setup( { dbname => "t/node.db" } );
    4444my $config = OpenGuides::Test->make_basic_config;
    45 $config->{_}{use_plucene} = 1;
     45$config->use_plucene( 1 );
    4646
    4747# British National Grid guides should have os_x/os_y/os_dist search fields.
     
    7979
    8080# Irish National Grid guides should have osie_x/osie_y/osie_dist.
    81 $config->{_}{geo_handler} = 2;
     81$config->geo_handler( 2 );
    8282$guide = OpenGuides->new( config => $config );
    8383
     
    110110
    111111# UTM guides should have latitude/longitude/latlong_dist.
    112 $config->{_}{geo_handler} = 3;
    113 $config->{_}{ellipsoid} = "Airy";
     112$config->geo_handler( 3 );
     113$config->ellipsoid( "Airy" );
    114114$guide = OpenGuides->new( config => $config );
    115115
Note: See TracChangeset for help on using the changeset viewer.