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/65_bug_metadata_escape.t

    r586 r587  
    11use CGI::Wiki::Setup::SQLite;
    2 use Config::Tiny;
     2use OpenGuides::Config;
    33use Cwd;
    44use OpenGuides;
     
    1313    CGI::Wiki::Setup::SQLite::cleardb( { dbname => "t/node.db" } );
    1414    CGI::Wiki::Setup::SQLite::setup( { dbname => "t/node.db" } );
    15     my $config = Config::Tiny->new;
    16     $config->{_} = {
     15    my $config = OpenGuides::Config->new(
     16           vars => {
    1717                     dbtype             => "sqlite",
    1818                     dbname             => "t/node.db",
     
    2222                     site_name          => "CGI::Wiki Test Site",
    2323                     template_path      => cwd . "/templates",
    24                    };
     24                   }
     25    );
    2526
    2627    my $guide = OpenGuides->new( config => $config );
Note: See TracChangeset for help on using the changeset viewer.