X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Flib%2FDBICTest%2FPlain.pm;h=209cc3eb90b626a9da697db0d0a9e7d9827efbf3;hb=a0024650c5dfd609c73a3ec954ba13c67870af3f;hp=67aa76ae52f0505b31a8fe37d0295ed81e91f14a;hpb=1752dc152f9e6f4c9235f5b1f742820ba3b05c8d;p=dbsrgits%2FDBIx-Class-Historic.git diff --git a/t/lib/DBICTest/Plain.pm b/t/lib/DBICTest/Plain.pm index 67aa76a..209cc3e 100644 --- a/t/lib/DBICTest/Plain.pm +++ b/t/lib/DBICTest/Plain.pm @@ -1,4 +1,5 @@ -package DBICTest::Plain; +package # hide from PAUSE + DBICTest::Plain; use strict; use warnings; @@ -13,8 +14,14 @@ mkdir("t/var") unless -d "t/var"; my $dsn = "dbi:SQLite:${db_file}"; -__PACKAGE__->load_classes; -my $schema = __PACKAGE__->compose_connection(__PACKAGE__, $dsn); +__PACKAGE__->load_classes("Test"); +my $schema = __PACKAGE__->compose_connection( + __PACKAGE__, + $dsn, + undef, + undef, + { AutoCommit => 1 } +); my $dbh = DBI->connect($dsn);