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/51_display_node.t

    r739 r785  
    11use strict;
    2 use CGI::Wiki::Setup::SQLite;
     2use Wiki::Toolkit::Setup::SQLite;
    33use OpenGuides::Config;
    44use OpenGuides;
     
    1212      unless $have_sqlite;
    1313
    14     CGI::Wiki::Setup::SQLite::setup( { dbname => "t/node.db" } );
     14    Wiki::Toolkit::Setup::SQLite::setup( { dbname => "t/node.db" } );
    1515    my $config = OpenGuides::Config->new(
    1616           vars => {
     
    2525                   }
    2626    );
    27     eval { require CGI::Wiki::Search::Plucene; };
     27    eval { require Wiki::Toolkit::Search::Plucene; };
    2828    if ( $@ ) { $config->use_plucene ( 0 ) };
    2929
     
    3131    isa_ok( $guide, "OpenGuides" );
    3232    my $wiki = $guide->wiki;
    33     isa_ok( $wiki, "CGI::Wiki" );
     33    isa_ok( $wiki, "Wiki::Toolkit" );
    3434    $wiki->write_node( "Test Page", "foo", undef, { source => "alternate.cgi?Test_Page" } );
    3535    my $output = eval {
Note: See TracChangeset for help on using the changeset viewer.