fix Account test to use whatever method is set by default
This commit is contained in:
parent
8e7f378f4f
commit
a30f940db1
1 changed files with 2 additions and 2 deletions
|
|
@ -56,8 +56,8 @@ isa_ok( $account, "WebGUI::Account", 'Blessed into the right class' );
|
|||
#----------------------------------------------------------------------------
|
||||
# Test getUrl
|
||||
|
||||
is( $account->getUrl, $session->url->page('op=account;module=;do='),
|
||||
'getUrl adds op, module, and do'
|
||||
is( $account->getUrl, $session->url->page('op=account;module=;do='.$account->method),
|
||||
'getUrl adds op, module, and do since no method has been set'
|
||||
);
|
||||
|
||||
is( $account->getUrl( 'foo=bar' ), $session->url->page( 'op=account;foo=bar' ),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue