fix Account test to use whatever method is set by default

This commit is contained in:
Colin Kuskie 2008-12-17 03:29:41 +00:00
parent 8e7f378f4f
commit a30f940db1

View file

@ -56,8 +56,8 @@ isa_ok( $account, "WebGUI::Account", 'Blessed into the right class' );
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------
# Test getUrl # Test getUrl
is( $account->getUrl, $session->url->page('op=account;module=;do='), is( $account->getUrl, $session->url->page('op=account;module=;do='.$account->method),
'getUrl adds op, module, and do' 'getUrl adds op, module, and do since no method has been set'
); );
is( $account->getUrl( 'foo=bar' ), $session->url->page( 'op=account;foo=bar' ), is( $account->getUrl( 'foo=bar' ), $session->url->page( 'op=account;foo=bar' ),