Ignore:
Timestamp:
Sep 4, 2009, 11:24:51 PM (12 years ago)
Author:
Dominic Hargreaves
Message:

test cleanups for refreshing the test db (thanks bob) (fixes #271)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/t/23_feed_node_all_versions.t

    r956 r1273  
    55use OpenGuides::Feed;
    66use OpenGuides::Utils;
     7use OpenGuides::Test;
    78use Test::More;
    89
     
    2627foreach my $feed_type (@feed_types) {
    2728    # Clear out the database from any previous runs.
    28     unlink "t/node.db";
    29     unlink <t/indexes/*>;
     29    OpenGuides::Test::refresh_db();
    3030
    31     Wiki::Toolkit::Setup::SQLite::setup( { dbname => "t/node.db" } );
    3231    my $config = OpenGuides::Config->new(
    3332           vars => {
Note: See TracChangeset for help on using the changeset viewer.