More END block cleanups.
This commit is contained in:
parent
647dc6a13a
commit
83e945142e
10 changed files with 30 additions and 77 deletions
|
|
@ -27,8 +27,6 @@ use WebGUI::Session;
|
|||
my $session = WebGUI::Test->session;
|
||||
my $node = WebGUI::Asset->getImportNode( $session );
|
||||
|
||||
my $dt;
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
# Tests
|
||||
|
||||
|
|
@ -41,6 +39,7 @@ my $dt = $node->addChild( {
|
|||
className => 'WebGUI::Asset::Wobject::DataTable',
|
||||
} );
|
||||
isa_ok( $dt, 'WebGUI::Asset::Wobject::DataTable' );
|
||||
WebGUI::Test->addToCleanup($dt);
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
# Value and variables
|
||||
|
|
@ -138,9 +137,4 @@ cmp_deeply(
|
|||
"getTemplateVars returns complete and correct data structure",
|
||||
);
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
# Cleanup
|
||||
END {
|
||||
$dt->purge;
|
||||
}
|
||||
#vim:ft=perl
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue