my $schema = DBICTest::Schema->connect($dsn, $user, $pass, {AutoCommit => 1});
+# start disconnected to test reconnection
$schema->storage->ensure_connected;
+$schema->storage->disconnect;
+
isa_ok( $schema->storage, 'DBIx::Class::Storage::DBI::Sybase' );
$schema->storage->dbh_do (sub {
my $schema = DBICTest::Schema->clone;
$schema->connection($dsn, $user, $pass);
+# start disconnected to test reconnection
+$schema->storage->ensure_connected;
+$schema->storage->disconnect;
+
my $dbh = $schema->storage->dbh;
isa_ok($schema->storage, 'DBIx::Class::Storage::DBI::Sybase::Microsoft_SQL_Server');