Debug needs an explicit package name for addToCleanup.
This commit is contained in:
parent
19b6f9de12
commit
82bb59d40e
47 changed files with 99 additions and 99 deletions
|
|
@ -85,7 +85,7 @@ my $helper = WebGUI::AssetHelper::Product::ExportCSV->new(
|
|||
);
|
||||
my $exportProducts = \&WebGUI::AssetHelper::Product::ExportCSV::exportProducts;
|
||||
my $process = Test::MockObject::Extends->new( WebGUI::Fork->create( $session ) );
|
||||
addToCleanup( sub { $process->delete } );
|
||||
WebGUI::Test->addToCleanup( sub { $process->delete } );
|
||||
|
||||
$exportProducts->($process, {});
|
||||
# Determine the storage location from the URL
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue