Show
Ignore:
Timestamp:
05/01/08 12:21:49 (4 years ago)
Author:
nick
Message:

Command line delete tool

Files:
1 modified

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}