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/67_bug_first_version.t

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