X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F13db2_common.t;h=4cbb7fd38d03f45fc3b6ec0fa54a7f0caf6fd67b;hb=8c41c3ce6f1db7b202d3465f84e0ba3e4d55e820;hp=1619968155cf882fba52c486ccb8ac0d4a432dd1;hpb=9e978a19c9486474511d003abcf63d0a559d20f5;p=dbsrgits%2FDBIx-Class-Schema-Loader.git diff --git a/t/13db2_common.t b/t/13db2_common.t index 1619968..4cbb7fd 100644 --- a/t/13db2_common.t +++ b/t/13db2_common.t @@ -1,5 +1,5 @@ use strict; -use lib qw( . ./t ); +use lib qw(t/lib); use dbixcsl_common_tests; my $dsn = $ENV{DBICTEST_DB2_DSN} || ''; @@ -12,8 +12,10 @@ my $tester = dbixcsl_common_tests->new( dsn => $dsn, user => $user, password => $password, - db_schema => $user, - drop_db_schema => 1, + null => '', + data_types => { + 'timestamp DEFAULT CURRENT TIMESTAMP' => { data_type => 'timestamp', default_value => \'current_timestamp' } + }, ); if( !$dsn || !$user ) { @@ -22,3 +24,4 @@ if( !$dsn || !$user ) { else { $tester->run_tests(); } +# vim:et sts=4 sw=4 tw=0: