test overridden dispatch should trump default
This commit is contained in:
parent
2d8c354cb3
commit
7ab4c2d95f
1 changed files with 2 additions and 2 deletions
|
|
@ -57,7 +57,7 @@ WebGUI::Test->addToCleanup( $tag );
|
|||
#----------------------------------------------------------------------------
|
||||
# Tests
|
||||
|
||||
plan tests => 4; # Increment this number for each test you create
|
||||
plan tests => 5; # Increment this number for each test you create
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
# Test dispatch
|
||||
|
|
@ -73,6 +73,6 @@ $session->request->setup_body( {
|
|||
func => 'edit',
|
||||
} );
|
||||
is( $td->dispatch, "www_edit", "dispatch handles ?func= query param" );
|
||||
|
||||
is( $td->dispatch( '/foo' ), "bar", "overridden dispatch trumps ?func= query param" );
|
||||
|
||||
#vim:ft=perl
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue