Test cleanup after merge to 7.10.2

This commit is contained in:
Colin Kuskie 2010-10-27 18:42:43 -07:00
parent a067cbbe70
commit a6a10d976a
6 changed files with 26 additions and 17 deletions

View file

@ -37,11 +37,6 @@ my $session = WebGUI::Test->session;
plan tests => 27;
#----------------------------------------------------------------------------
# figure out if the test can actually run
my $e;
#######################################################################
#
# new
@ -54,6 +49,8 @@ WebGUI::Test->addToCleanup($credit_user);
# Test incorrect for parameters
my $e;
eval { $credit = WebGUI::Shop::Credit->new(); };
$e = Exception::Class->caught();
isa_ok ($e, 'WebGUI::Error::InvalidParam', 'new takes exception to not giving it a session object');