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/51_display_node.t

    r1056 r1064  
    5151$wiki->write_node( 'Redirect Test', '#REDIRECT Test Page', undef );
    5252
    53 $output = $guide->display_node( id => 'Redirect Test', return_output => 1 );
     53$output = $guide->display_node( id => 'Redirect Test',
     54                                return_output => 1,
     55                                intercept_redirect => 1 );
    5456
    5557like( $output, qr{^\QLocation: http://example.com/wiki.cgi?id=Test_Page;oldid=Redirect_Test}ms,
Note: See TracChangeset for help on using the changeset viewer.