From 44f62c98844c6413884a07f1ecee1a53aa80d8f5 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Tue, 2 Aug 2011 09:58:46 -0700 Subject: [PATCH] Add cleanup code for newly added tests for canAdd being called as a method. --- t/Asset/Asset.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/Asset/Asset.t b/t/Asset/Asset.t index e7de5453e..9907d545f 100644 --- a/t/Asset/Asset.t +++ b/t/Asset/Asset.t @@ -1219,7 +1219,7 @@ subtest 'canAdd tolerates being called as an object method', sub { # Make a test user who's just in Turn Admin On my $u = WebGUI::User->create($session); - WebGUI::Test->addToCleanup($u); + WebGUI::Test->addToCleanup($u, $snip); $u->addToGroups(['12']); $session->user({ user => $u });