Additional tests on prefetch - illustrates the bug with left-join has_many (NULL...
[dbsrgits/DBIx-Class.git] / t / 746sybase.t
index f09862f..2d42130 100644 (file)
@@ -14,7 +14,10 @@ plan tests => 12;
 
 my $schema = DBICTest::Schema->connect($dsn, $user, $pass, {AutoCommit => 1});
 
+# start disconnected to test reconnection
 $schema->storage->ensure_connected;
+$schema->storage->_dbh->disconnect;
+
 isa_ok( $schema->storage, 'DBIx::Class::Storage::DBI::Sybase' );
 
 $schema->storage->dbh_do (sub {