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/33_supersearch_advanced_search_utm.t

    r586 r587  
    11use strict;
    22use CGI::Wiki::Setup::SQLite;
    3 use Config::Tiny;
     3use OpenGuides::Config;
    44use OpenGuides::SuperSearch;
    55use OpenGuides::Test;
     
    2828CGI::Wiki::Setup::SQLite::setup( { dbname => "t/node.db" } );
    2929
    30 my $config = Config::Tiny->new;
    31 $config->{_} = {
     30my $config = OpenGuides::Config->new(
     31       vars => {
    3232                 dbtype             => "sqlite",
    3333                 dbname             => "t/node.db",
     
    4040                 geo_handler        => 3,
    4141                 ellipsoid          => "Airy",
    42            };
     42           }
     43);
    4344my $search = OpenGuides::SuperSearch->new( config => $config );
    4445my $guide = OpenGuides->new( config => $config );
Note: See TracChangeset for help on using the changeset viewer.