diff --git a/t/15reconnect.t b/t/15reconnect.t index b6c4d82f..c1aa1c3c 100644 --- a/t/15reconnect.t +++ b/t/15reconnect.t @@ -12,6 +12,7 @@ require 'lib.pl'; my $dbh; my $sth; +# Test connection $dbh = DbiTestConnect($test_dsn, $test_user, $test_password, { RaiseError => 1, PrintError => 0 }); $dbh->disconnect(); diff --git a/t/55utf8.t b/t/55utf8.t index cd08d9af..6461c635 100644 --- a/t/55utf8.t +++ b/t/55utf8.t @@ -13,8 +13,10 @@ binmode $tb->output, ":utf8"; binmode $tb->failure_output, ":utf8"; binmode $tb->todo_output, ":utf8"; +# Test connection my $dbh = DbiTestConnect($test_dsn, $test_user, $test_password, { RaiseError => 1, PrintError => 0, AutoCommit => 0 }); +$dbh->disconnect(); plan tests => 40 * 2;