Ignore:
Timestamp:
May 1, 2008, 12:21:49 PM (14 years ago)
Author:
nick
Message:

Command line delete tool

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki-toolkit/trunk/t/004_write_and_retrieve.t

    r209 r423  
    66    plan skip_all => "no backends configured";
    77} else {
    8     plan tests => ( 11 * scalar @Wiki::Toolkit::TestLib::wiki_info );
     8    plan tests => ( 12 * scalar @Wiki::Toolkit::TestLib::wiki_info );
    99}
    1010
     
    3838            "...and false for a nonexistent one" );
    3939
     40    # Test -> node_name_for_id
     41    my $id = $wiki->store->{_dbh}->selectrow_array("SELECT id FROM node WHERE name = 'A Node'");
     42    is( "A Node", $wiki->store->node_name_for_id($id),
     43        "Can fetch the name of a node with a id" );
    4044}
Note: See TracChangeset for help on using the changeset viewer.