allow SQL statements to be added to test cleanup
This commit is contained in:
parent
eb97a8d50e
commit
88e8fe77fb
2 changed files with 6 additions and 1 deletions
|
|
@ -819,6 +819,10 @@ Example call:
|
|||
my ($class, $ident) = @_;
|
||||
return WebGUI::Storage->get($CLASS->session, $ident);
|
||||
},
|
||||
'SQL' => sub {
|
||||
my (undef, $sql) = @_;
|
||||
return $CLASS->session->db->dbh->prepare($sql);
|
||||
},
|
||||
);
|
||||
|
||||
my %clone = (
|
||||
|
|
@ -898,6 +902,7 @@ Example call:
|
|||
'CODE' => sub {
|
||||
(shift)->();
|
||||
},
|
||||
'SQL' => 'execute',
|
||||
);
|
||||
|
||||
sub cleanupGuard {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue