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/36_supersearch_order.t

    r586 r587  
    11use strict;
    22use CGI::Wiki::Setup::SQLite;
    3 use Config::Tiny;
     3use OpenGuides::Config;
    44use OpenGuides::SuperSearch;
    55use Test::More;
     
    2424
    2525CGI::Wiki::Setup::SQLite::setup( { dbname => "t/node.db" } );
    26 my $config = Config::Tiny->new;
    27 $config->{_} = {
     26my $config = OpenGuides::Config->new(
     27       vars => {
    2828                 dbtype             => "sqlite",
    2929                 dbname             => "t/node.db",
     
    3434                 template_path      => "./templates",
    3535                 use_plucene        => 1
    36                };
     36               }
     37);
    3738
    3839my $search = OpenGuides::SuperSearch->new( config => $config );
Note: See TracChangeset for help on using the changeset viewer.