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);