remove comment about sybase dsn (it's handled automatically now)
[dbsrgits/DBIx-Class-Schema-Loader.git] / t / 15sybase_common.t
1 use strict;
2 use lib qw(t/lib);
3 use dbixcsl_common_tests;
4
5 my $dsn      = $ENV{DBICTEST_SYBASE_DSN} || '';
6 my $user     = $ENV{DBICTEST_SYBASE_USER} || '';
7 my $password = $ENV{DBICTEST_SYBASE_PASS} || '';
8
9 my $tester = dbixcsl_common_tests->new(
10     vendor      => 'sybase',
11     auto_inc_pk => 'INTEGER IDENTITY NOT NULL PRIMARY KEY',
12     dsn         => $dsn,
13     user        => $user,
14     password    => $password,
15 # This is necessary because there are too many cursors open for transactions on
16 # insert to work.
17     connect_info_opts => { on_connect_call => 'unsafe_insert' }
18 );
19
20 if( !$dsn || !$user ) {
21     $tester->skip_tests('You need to set the DBICTEST_SYBASE_DSN, _USER, and _PASS environment variables');
22 }
23 else {
24     $tester->run_tests();
25 }