From: Peter Rabbitson Date: Mon, 3 May 2010 22:50:35 +0000 (+0000) Subject: Fix test warning X-Git-Tag: v0.08122~86^2~6 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=442cb03d3bcf54768c832e20b0c6106542002820;p=dbsrgits%2FDBIx-Class.git Fix test warning --- diff --git a/t/storage/dbi_env.t b/t/storage/dbi_env.t index f5275c3..5ef4274 100644 --- a/t/storage/dbi_env.t +++ b/t/storage/dbi_env.t @@ -70,7 +70,7 @@ $schema = DBICTest::Schema->connect("dbi::$dbname"); lives_ok { count_sheep($schema) } 'SQLite in DBI_DRIVER'; isa_ok $schema->storage, 'DBIx::Class::Storage::DBI::SQLite'; -undef $ENV{DBI_DRIVER}; +delete $ENV{DBI_DRIVER}; $ENV{DBI_DSN} = "dbi:SQLite:$dbname"; $schema = DBICTest::Schema->connect; lives_ok { count_sheep($schema) } 'SQLite in DBI_DSN';