Test cleanup after merge to 7.10.2
This commit is contained in:
parent
a067cbbe70
commit
a6a10d976a
6 changed files with 26 additions and 17 deletions
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue