diff --git a/t/16_column_info.t b/t/16_column_info.t index 9f05ef5..81102c3 100644 --- a/t/16_column_info.t +++ b/t/16_column_info.t @@ -6,8 +6,9 @@ BEGIN { $^W = 1; } -use Test::More tests => 6; use t::lib::Test; +use Test::More tests => 7; +use Test::NoWarnings; my $dbh = DBI->connect('dbi:SQLite:dbname=:memory:',undef,undef,{RaiseError => 1}); diff --git a/t/21_blobtext.t b/t/21_blobtext.t index 4d524be..3954c7d 100644 --- a/t/21_blobtext.t +++ b/t/21_blobtext.t @@ -6,17 +6,15 @@ BEGIN { $^W = 1; } -use Test::More tests => 26; use t::lib::Test; +use Test::More tests => 27; +use Test::NoWarnings; -my $dbh = DBI->connect('dbi:SQLite:foo', '', '', -{ +my $dbh = connect_ok( RaiseError => 1, PrintError => 0, AutoCommit => 0, -}); - -ok($dbh); +); ok($dbh->do("CREATE TABLE Blah ( id INTEGER, val VARCHAR )")); ok($dbh->commit);