Changeset 1064 for trunk/t/54_redirect.t


Ignore:
Timestamp:
Jun 11, 2007, 3:23:11 AM (14 years ago)
Author:
kake
Message:

Add intercept_redirect parameter to Openguides->display_node - used with the return_output parameter for testing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/t/54_redirect.t

    r956 r1064  
    4242  or die "Can't write node";
    4343my $output = eval {
    44     $guide->display_node( id => "Test Page", return_output => 1 );
     44    $guide->display_node( id => "Test Page",
     45                          return_output => 1,
     46                          intercept_redirect => 1 );
    4547};
    4648is( $@, "", "->display_node doesn't die when page is a redirect" );
Note: See TracChangeset for help on using the changeset viewer.