Changeset 785 for trunk/t/31_search.t


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/31_search.t

    r738 r785  
    11use strict;
    2 use CGI::Wiki::Setup::SQLite;
     2use Wiki::Toolkit::Setup::SQLite;
    33use OpenGuides::Search;
    44use OpenGuides::Test;
     
    1515    unlink <t/indexes/*>;
    1616
    17     CGI::Wiki::Setup::SQLite::setup( { dbname => "t/node.db" } );
     17    Wiki::Toolkit::Setup::SQLite::setup( { dbname => "t/node.db" } );
    1818    my $config = OpenGuides::Test->make_basic_config;
    1919    $config->script_name( "wiki.cgi" );
     
    2121
    2222    # Plucene is the recommended searcher now.
    23     eval { require CGI::Wiki::Search::Plucene; };
     23    eval { require Wiki::Toolkit::Search::Plucene; };
    2424    if ( $@ ) { $config->use_plucene( 0 ) };
    2525
Note: See TracChangeset for help on using the changeset viewer.