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/16_test_tester.t

    r956 r1273  
    1818plan tests => 2;
    1919
     20
    2021# Clear out the database from any previous runs.
    21 unlink "t/node.db";
    22 unlink <t/indexes/*>;
     22    OpenGuides::Test::refresh_db();
    2323
    24 Wiki::Toolkit::Setup::SQLite::setup( { dbname => "t/node.db" } );
    2524my $config = OpenGuides::Test->make_basic_config;
    2625$config->site_name( "Test Site" );
Note: See TracChangeset for help on using the changeset viewer.