X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F14ora_common.t;h=294b1e5edbae91ff0df355cb8046ec6ce4557fe7;hb=7640ef4b86af6164f7883bc71cffa9c0e26e69af;hp=1cab6fa902db49912e9a28fa23c77219dce91dde;hpb=b511f36e7550cfe8aac546be689c8bd320a83975;p=dbsrgits%2FDBIx-Class-Schema-Loader.git diff --git a/t/14ora_common.t b/t/14ora_common.t index 1cab6fa..294b1e5 100644 --- a/t/14ora_common.t +++ b/t/14ora_common.t @@ -124,6 +124,23 @@ my $tester = dbixcsl_common_tests->new( 'urowid' => { data_type => 'urowid' }, 'urowid(3333)' => { data_type => 'urowid', size => 3333 }, }, + extra => { + count => 1, + run => sub { + my ($schema, $monikers, $classes) = @_; + + SKIP: { + if (my $source = $monikers->{loader_test1s}) { + is $schema->source($source)->column_info('id')->{sequence}, + 'loader_test1s_id_seq', + 'Oracle sequence detection'; + } + else { + skip 'not running common tests', 1; + } + } + }, + }, ); if( !$dsn || !$user ) {