X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F746mssql.t;h=ca92a41a9603f5492498023b902ea8982a010d35;hb=ecdf1ac8ec414ab62b84c78bad176e125dff553d;hp=ab1bc200028454c94d81f6dfbc80c9da09336761;hpb=6f546d659c5f4207286d0be33f15ce237b9968b9;p=dbsrgits%2FDBIx-Class.git diff --git a/t/746mssql.t b/t/746mssql.t index ab1bc20..ca92a41 100644 --- a/t/746mssql.t +++ b/t/746mssql.t @@ -33,6 +33,12 @@ isa_ok( $schema->storage, 'DBIx::Class::Storage::DBI::ODBC::Microsoft_SQL_Server ok (! $schema2->storage->connected, 'a re-connected cloned schema starts unconnected'); } +$schema->storage->_dbh->disconnect; + +lives_ok { + $schema->storage->dbh_do(sub { $_[1]->do('select 1') }) +} '_ping works'; + $schema->storage->dbh_do (sub { my ($storage, $dbh) = @_; eval { $dbh->do("DROP TABLE artist") };