Better test cleanups. Hopefully, this fixes the RemoveOldCarts activity.
This commit is contained in:
parent
0d2ac6a858
commit
3ccf71ae0b
2 changed files with 1 additions and 1 deletions
|
|
@ -353,6 +353,7 @@ isnt(
|
|||
#######################################################################
|
||||
|
||||
my $cart = $driver->getCart;
|
||||
WebGUI::Test->addToCleanup($cart);
|
||||
isa_ok ($cart, 'WebGUI::Shop::Cart', 'getCart returns an instantiated WebGUI::Shop::Cart object');
|
||||
|
||||
#######################################################################
|
||||
|
|
|
|||
|
|
@ -263,7 +263,6 @@ my $car = WebGUI::Asset->getImportNode($session)->addChild({
|
|||
title => 'Automobiles',
|
||||
isShippingRequired => 1,
|
||||
});
|
||||
WebGUI::Test->addToCleanup($car);
|
||||
|
||||
my $crappyCar = $car->setCollateral('variantsJSON', 'variantId', 'new',
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue