From: Peter Rabbitson Date: Fri, 3 Feb 2012 09:46:06 +0000 (+0100) Subject: Fix incorrect DSN in test (does not affect test condition) X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a9ee4be9a5b1b4cae7441888eba03e1c8a1faa59;p=dbsrgits%2FDBIx-Class-Historic.git Fix incorrect DSN in test (does not affect test condition) --- diff --git a/t/746mssql.t b/t/746mssql.t index 9b6ce5b..611d9e0 100644 --- a/t/746mssql.t +++ b/t/746mssql.t @@ -43,10 +43,9 @@ my $schema = DBICTest::Schema->connect($dsn, $user, $pass); isa_ok( $schema->storage, 'DBIx::Class::Storage::DBI::ODBC::Microsoft_SQL_Server' ); { - my $schema2 = $schema->connect ($schema->storage->connect_info); + my $schema2 = $schema->connect (@{$schema->storage->connect_info}); ok (! $schema2->storage->connected, 'a re-connected cloned schema starts unconnected'); } - $schema->storage->_dbh->disconnect; lives_ok {