From 0d2ac6a858c3980b879db5e32d85c5c11e22cf13 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Thu, 3 Jun 2010 16:11:56 -0700 Subject: [PATCH] Get pending assets for cleanup. --- t/lib/WebGUI/Test.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/t/lib/WebGUI/Test.pm b/t/lib/WebGUI/Test.pm index 86898059c..e8e5f354c 100644 --- a/t/lib/WebGUI/Test.pm +++ b/t/lib/WebGUI/Test.pm @@ -812,6 +812,10 @@ Example call: my ($class, $ident) = @_; return $class->new($CLASS->session, $ident); }, + 'WebGUI::Asset' => sub { + my ($class, $ident) = @_; + return WebGUI::Asset->newPending($CLASS->session, $ident); + }, 'WebGUI::Storage' => sub { my ($class, $ident) = @_; return WebGUI::Storage->get($CLASS->session, $ident);