Adding the getCart method to PayDriver.pm
This commit is contained in:
parent
7c184b26c3
commit
c2c258400d
2 changed files with 28 additions and 3 deletions
|
|
@ -31,7 +31,7 @@ my $session = WebGUI::Test->session;
|
|||
#----------------------------------------------------------------------------
|
||||
# Tests
|
||||
|
||||
my $tests = 45;
|
||||
my $tests = 46;
|
||||
plan tests => 1 + $tests;
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
|
|
@ -273,6 +273,15 @@ $optionsCopy->{label} = 'And now for something completely different';
|
|||
isnt ($driver->get('label'), 'And now for something completely different',
|
||||
'hashref returned by get() is a copy of the internal hashref');
|
||||
|
||||
#######################################################################
|
||||
#
|
||||
# getCart
|
||||
#
|
||||
#######################################################################
|
||||
|
||||
my $cart = $driver->getCart;
|
||||
isa_ok ($cart, 'WebGUI::Shop::Cart', 'getCart returns an instantiated WebGUI::Shop::Cart object');
|
||||
|
||||
#######################################################################
|
||||
#
|
||||
# getEditForm
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue