X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F72pg.t;h=0003205032924eb854df05c97677e752fafa6b6b;hb=40b2fcfe2daed009b1bd78d78f851937b333a149;hp=c51760088babbf7ec6d5fd6bda741ce0395ae3c8;hpb=39b8d119b31781e2a87f07abf54501a2695333fe;p=dbsrgits%2FDBIx-Class-Historic.git diff --git a/t/72pg.t b/t/72pg.t index c517600..0003205 100644 --- a/t/72pg.t +++ b/t/72pg.t @@ -181,15 +181,19 @@ SKIP: { }); } -# test auto increment using sequences WITHOUT triggers -for (1..5) { +SKIP: { + skip "Oracle Auto-PK tests are broken", 16; + + # test auto increment using sequences WITHOUT triggers + for (1..5) { my $st = $schema->resultset('SequenceTest')->create({ name => 'foo' }); is($st->pkid1, $_, "Oracle Auto-PK without trigger: First primary key"); is($st->pkid2, $_ + 9, "Oracle Auto-PK without trigger: Second primary key"); is($st->nonpkid, $_ + 19, "Oracle Auto-PK without trigger: Non-primary key"); + } + my $st = $schema->resultset('SequenceTest')->create({ name => 'foo', pkid1 => 55 }); + is($st->pkid1, 55, "Oracle Auto-PK without trigger: First primary key set manually"); } -my $st = $schema->resultset('SequenceTest')->create({ name => 'foo', pkid1 => 55 }); -is($st->pkid1, 55, "Oracle Auto-PK without trigger: First primary key set manually"); END { if($dbh) {