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/39_search_form.t

    r956 r1273  
    3838
    3939# Clear out the database from any previous runs.
    40 unlink "t/node.db";
    41 unlink <t/indexes/*>;
     40    OpenGuides::Test::refresh_db();
    4241
    43 Wiki::Toolkit::Setup::SQLite::setup( { dbname => "t/node.db" } );
    4442my $config = OpenGuides::Test->make_basic_config;
    4543$config->use_plucene( 1 );
Note: See TracChangeset for help on using the changeset viewer.