Changeset 254


Ignore:
Timestamp:
May 12, 2006, 12:18:44 PM (14 years ago)
Author:
Dominic Hargreaves
Message:

Fix tests.

Location:
wiki-toolkit/trunk
Files:
1 edited
2 copied

Legend:

Unmodified
Added
Removed
  • wiki-toolkit/trunk/MANIFEST

    r251 r254  
    5656t/150_plugins.t
    5757t/151_plugin_methods.t
     58t/297_feed_rss_recentchanges_setup.t
     59t/298_feed_rss_recentchanges_add_test_data.t
    5860t/299_feed_rss_recentchanges.t
    5961t/lib/Wiki/Toolkit/Plugin/Bar.pm
  • wiki-toolkit/trunk/t/297_feed_rss_recentchanges_setup.t

    r253 r254  
    11use strict;
    22use Test::More tests => 1;
    3 use CGI::Wiki;
    4 use CGI::Wiki::TestConfig::Utilities;
     3use Wiki::Toolkit;
     4use Wiki::Toolkit::TestConfig::Utilities;
    55
    66# Reinitialise every configured storage backend.
    7 CGI::Wiki::TestConfig::Utilities->reinitialise_stores;
     7Wiki::Toolkit::TestConfig::Utilities->reinitialise_stores;
    88
    99pass( "Reinitialised stores" );
  • wiki-toolkit/trunk/t/298_feed_rss_recentchanges_add_test_data.t

    r253 r254  
    11use strict;
    22
    3 use CGI::Wiki::TestConfig::Utilities;
    4 use CGI::Wiki;
     3use Wiki::Toolkit::TestConfig::Utilities;
     4use Wiki::Toolkit;
    55
    6 use Test::More tests => $CGI::Wiki::TestConfig::Utilities::num_stores;
     6use Test::More tests => $Wiki::Toolkit::TestConfig::Utilities::num_stores;
    77
    88# Add test data to the stores.
    9 my %stores = CGI::Wiki::TestConfig::Utilities->stores;
     9my %stores = Wiki::Toolkit::TestConfig::Utilities->stores;
    1010
    1111my ($store_name, $store);
     
    1717      print "#\n##### TEST CONFIG: Store: $store_name\n#\n";
    1818
    19       my $wiki = CGI::Wiki->new( store => $store );
     19      my $wiki = Wiki::Toolkit->new( store => $store );
    2020
    2121      $wiki->write_node( "Old Node",
Note: See TracChangeset for help on using the changeset viewer.