2 use lib qw(t/backcompat/0.04006/lib);
3 use dbixcsl_common_tests;
5 plan skip_all => 'set SCHEMA_LOADER_TESTS_BACKCOMPAT to enable these tests'
6 unless $ENV{SCHEMA_LOADER_TESTS_BACKCOMPAT};
9 my $dsn = $ENV{DBICTEST_PG_DSN} || '';
10 my $user = $ENV{DBICTEST_PG_USER} || '';
11 my $password = $ENV{DBICTEST_PG_PASS} || '';
13 my $tester = dbixcsl_common_tests->new(
15 auto_inc_pk => 'SERIAL NOT NULL PRIMARY KEY',
18 password => $password,
21 if( !$dsn || !$user ) {
22 $tester->skip_tests('You need to set the DBICTEST_PG_DSN, _USER, and _PASS environment variables');