Ignore:
Timestamp:
Jul 16, 2004, 7:46:53 AM (17 years ago)
Author:
kake
Message:

Make sure we have a clear db before starting.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/t/63_bug_map_link_no_address.t

    r449 r450  
    1212      unless $have_sqlite;
    1313
     14    CGI::Wiki::Setup::SQLite::cleardb( { dbname => "t/node.db" } );
    1415    CGI::Wiki::Setup::SQLite::setup( { dbname => "t/node.db" } );
    1516    my $config = Config::Tiny->new;
     
    2627    my $guide = OpenGuides->new( config => $config );
    2728
    28     $guide->wiki->write_node( "South Croydon Station", "A sleepy main-line station in what is arguably the nicest part of Croydon.", undef, { map_link => "http://www.streetmap.co.uk/newmap.srf?x=532804&y=164398&z=1" } );
     29    $guide->wiki->write_node( "South Croydon Station", "A sleepy main-line station in what is arguably the nicest part of Croydon.", undef, { map_link => "http://www.streetmap.co.uk/newmap.srf?x=532804&y=164398&z=1" } ) or die "Couldn't write node";
    2930
    3031    my $output = $guide->display_node(
Note: See TracChangeset for help on using the changeset viewer.