X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F13db2_common.t;h=f5f147576335d403fd7eaa4395dfbfff698e68e0;hb=b511f36e7550cfe8aac546be689c8bd320a83975;hp=2eefb4719b62b08e2ecb23804c33fbb638ae3d7c;hpb=41968729ce9a8812e3d3ae80adbd79a85b04551b;p=dbsrgits%2FDBIx-Class-Schema-Loader.git diff --git a/t/13db2_common.t b/t/13db2_common.t index 2eefb47..f5f1475 100644 --- a/t/13db2_common.t +++ b/t/13db2_common.t @@ -9,11 +9,16 @@ my $password = $ENV{DBICTEST_DB2_PASS} || ''; my $tester = dbixcsl_common_tests->new( vendor => 'DB2', auto_inc_pk => 'INTEGER GENERATED BY DEFAULT AS IDENTITY NOT NULL PRIMARY KEY', - default_function => 'CURRENT TIMESTAMP', dsn => $dsn, user => $user, password => $password, null => '', + preserve_case_mode_is_exclusive => 1, + quote_char => '"', + data_types => { + 'timestamp DEFAULT CURRENT TIMESTAMP' => { data_type => 'timestamp', default_value => \'current_timestamp', + original => { default_value => \'current timestamp' } }, + }, ); if( !$dsn || !$user ) { @@ -22,3 +27,4 @@ if( !$dsn || !$user ) { else { $tester->run_tests(); } +# vim:et sts=4 sw=4 tw=0: