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/62_bug_trailing_whitespace.t

    r956 r1273  
     1use strict;
    12use Wiki::Toolkit::Setup::SQLite;
    23use OpenGuides::Config;
     
    1617
    1718# Clear out the database from any previous runs.
    18 unlink "t/node.db";
    19 unlink <t/indexes/*>;
    20 Wiki::Toolkit::Setup::SQLite::setup( { dbname => "t/node.db" } );
     19    OpenGuides::Test::refresh_db();
    2120
    2221my $config = OpenGuides::Test->make_basic_config;
Note: See TracChangeset for help on using the changeset viewer.