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
2
t/SQL.t
2
t/SQL.t
|
|
@ -173,7 +173,7 @@ SKIP: {
|
|||
skip("No InnoDB tables in this MySQL. Skipping all transaction related tests.",7) if (lc $mysqlVariables{have_innodb} ne 'yes');
|
||||
$session->db->dbh->do('DROP TABLE IF EXISTS testTable');
|
||||
$session->db->dbh->do('CREATE TABLE testTable (myIndex int(8) NOT NULL default 0, message CHAR(64), PRIMARY KEY(myIndex)) TYPE=InnoDB');
|
||||
addToCleanup( SQL => 'DROP TABLE testTable' );
|
||||
WebGUI::Test->addToCleanup( SQL => 'DROP TABLE testTable' );
|
||||
|
||||
my $dbh2 = WebGUI::SQL->connect($session->config->get("dsn"), $session->config->get("dbuser"), $session->config->get("dbpass"));
|
||||
my ($sth, $sth2, $rc);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue