From 8242fa59fa4a1d90b11d6600612e7b2f484543db Mon Sep 17 00:00:00 2001 From: Graham Knop Date: Thu, 19 Mar 2009 21:59:23 +0000 Subject: [PATCH] clean up after doing cart test --- t/Shop/Cart.t | 3 +++ 1 file changed, 3 insertions(+) diff --git a/t/Shop/Cart.t b/t/Shop/Cart.t index 6fea1d5ac..70e0b1db8 100644 --- a/t/Shop/Cart.t +++ b/t/Shop/Cart.t @@ -161,5 +161,8 @@ $product->purge; #---------------------------------------------------------------------------- # Cleanup END { + if ($shipper) { + $shipper->delete; + } $session2->close; }