From a30f940db1bc7d65e8044ab71cd3c4a87e4e8ada Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Wed, 17 Dec 2008 03:29:41 +0000 Subject: [PATCH] fix Account test to use whatever method is set by default --- t/Account.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/Account.t b/t/Account.t index 7b67756d6..d2ef973bd 100644 --- a/t/Account.t +++ b/t/Account.t @@ -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' ),