Better test cleanups. Hopefully, this fixes the RemoveOldCarts activity.

This commit is contained in:
Colin Kuskie 2010-06-03 16:12:14 -07:00
parent 0d2ac6a858
commit 3ccf71ae0b
2 changed files with 1 additions and 1 deletions

View file

@ -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');
#######################################################################

View file

@ -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',
{