Ignore:
Timestamp:
May 14, 2006, 4:54:22 PM (15 years ago)
Author:
Dominic Hargreaves
Message:

Use Wiki::Toolkit. Note that CGI::Wiki::Plugin::Diff hasn't been converted yet,
so tests will be broken for now.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/t/64_bug_node_history.t

    r594 r785  
    1 use CGI::Wiki::Setup::SQLite;
     1use Wiki::Toolkit::Setup::SQLite;
    22use OpenGuides::Config;
    33use Cwd;
     
    1212      unless $have_sqlite;
    1313
    14     CGI::Wiki::Setup::SQLite::cleardb( { dbname => "t/node.db" } );
    15     CGI::Wiki::Setup::SQLite::setup( { dbname => "t/node.db" } );
     14    Wiki::Toolkit::Setup::SQLite::cleardb( { dbname => "t/node.db" } );
     15    Wiki::Toolkit::Setup::SQLite::setup( { dbname => "t/node.db" } );
    1616    my $config = OpenGuides::Config->new(
    1717           vars => {
     
    2121                     script_url         => "http://wiki.example.com/",
    2222                     script_name        => "mywiki.cgi",
    23                      site_name          => "CGI::Wiki Test Site",
     23                     site_name          => "Wiki::Toolkit Test Site",
    2424                     template_path      => cwd . "/templates",
    2525                   }
    2626    );
    27     eval { require CGI::Wiki::Search::Plucene; };
     27    eval { require Wiki::Toolkit::Search::Plucene; };
    2828    if ( $@ ) { $config->use_plucene ( 0 ) };
    2929
Note: See TracChangeset for help on using the changeset viewer.