Changeset 785 for trunk/t/21_rdf.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/21_rdf.t

    r768 r785  
    1 use CGI::Wiki::Setup::SQLite;
     1use Wiki::Toolkit::Setup::SQLite;
    22use OpenGuides;
    33use OpenGuides::Config;
     
    1515        unless $have_sqlite;
    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::Config->new(
    1919        vars => {
     
    2323                    script_url         => "http://wiki.example.com/",
    2424                    script_name        => "mywiki.cgi",
    25                     site_name          => "CGI::Wiki Test Site",
     25                    site_name          => "Wiki::Toolkit Test Site",
    2626                    default_city       => "London",
    2727                    default_country    => "United Kingdom",
    2828                }
    2929    );
    30     eval { require CGI::Wiki::Search::Plucene; };
     30    eval { require Wiki::Toolkit::Search::Plucene; };
    3131    if ( $@ ) { $config->use_plucene ( 0 ) };
    3232
     
    8181
    8282    like( $rdfxml,
    83         qr|<dc:title>CGI::Wiki Test Site: Calthorpe Arms</dc:title>|,
     83        qr|<dc:title>Wiki::Toolkit Test Site: Calthorpe Arms</dc:title>|,
    8484        "sets the title correctly" );
    8585
Note: See TracChangeset for help on using the changeset viewer.