X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fstorage%2Fbase.t;h=df3641eacd56bf715e30299d6a9fc14c89c68f39;hb=e952df766c89f1fd6e7e2e1289162b5c6773e65c;hp=efc593805a691383216eaa94a6c673a595fed112;hpb=37b5ab5186b53c5e786e32127d2589bd6dc9b3e0;p=dbsrgits%2FDBIx-Class.git diff --git a/t/storage/base.t b/t/storage/base.t index efc5938..df3641e 100644 --- a/t/storage/base.t +++ b/t/storage/base.t @@ -152,7 +152,7 @@ SKIP: for my $env_dsn (undef, (DBICTest->_database)[0] ) { skip 'Subtest relies on being connected to SQLite', 1 if $env_dsn and $env_dsn !~ /\:SQLite\:/; - local $ENV{DBI_DSN} = $env_dsn; + local $ENV{DBI_DSN} = $env_dsn || ''; my $s = DBICTest::Schema->connect(); is_deeply ( @@ -164,7 +164,7 @@ SKIP: for my $env_dsn (undef, (DBICTest->_database)[0] ) { my $sm = $s->storage->sql_maker; - ok (! $s->storage->connected, 'Storage does not appear connected (SQLite determined by DSN-only analysis)'); + ok (! $s->storage->connected, 'Storage does not appear connected after SQLMaker instance is taken'); if ($env_dsn) { isa_ok($sm, 'DBIx::Class::SQLMaker');