Changeset 847


Ignore:
Timestamp:
Sep 10, 2006, 4:07:08 PM (15 years ago)
Author:
Dominic Hargreaves
Message:

Minor warning fixes

Location:
trunk/t
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/t/24_feed_node_listings.t

    r817 r847  
    134134
    135135    # Ask build_feed_for_nodes to make a feed of these
    136     my $output = $feed->build_feed_for_nodes($feed_type,@all_nodes);
     136    $output = $feed->build_feed_for_nodes($feed_type,@all_nodes);
    137137
    138138    like( $output, qr/<title>Wombats/, "Found wombats" );
     
    160160    unlike( $output, qr/<title>Badgers/, "Wombats didn't have Badgers" );
    161161
    162     my @wombats = $output =~ /(<title>Wombats)/g;
     162    @wombats = $output =~ /(<title>Wombats)/g;
    163163    is( scalar @wombats, 3, "All 3 wombat versions found" );
    164164
  • trunk/t/53_show_index.t

    r820 r847  
    7575    like( $output, "/\<rdf\:RDF.*?http\:\/\/purl.org\/rss\//s", "Really is rss" );
    7676    #like( $output, qr|<title>Category Alpha</title>|, "Right rss title" );
    77     my @entries = ($output =~ /(\<\/item\>)/g);
     77    @entries = ($output =~ /(\<\/item\>)/g);
    7878    is( 2, scalar @entries, "Right number of nodes included in rss" );
    7979
     
    9292    like( $output, qr|<feed|, "Really is atom" );
    9393    #like( $output, qr|<title>Category Alpha</title>|, "Right atom title" );
    94     my @entries = ($output =~ /(\<entry\>)/g);
     94    @entries = ($output =~ /(\<entry\>)/g);
    9595    is( 2, scalar @entries, "Right number of nodes included in atom" );
    9696}
  • trunk/t/72_node_moderation.t

    r833 r847  
    7171    $q->param( -name => "edit_type", -value => "Normal edit" );
    7272    $q->param( -name => "checksum", -value => $details{checksum} );
    73     my $output = $guide->commit_node(
     73    $output = $guide->commit_node(
    7474                                      return_output => 1,
    7575                                      id => "Wombats",
Note: See TracChangeset for help on using the changeset viewer.