projects
/
dbsrgits/DBIx-Class.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Fix auto-pk for Sybase ASE, broken by refactoring in fabbd5cc
[dbsrgits/DBIx-Class.git]
/
t
/
746sybase.t
diff --git
a/t/746sybase.t
b/t/746sybase.t
index
43e2ab5
..
33b3bcd
100644
(file)
--- a/
t/746sybase.t
+++ b/
t/746sybase.t
@@
-89,6
+89,7
@@
SQL
# test primary key handling
my $new = $schema->resultset('Artist')->create({ name => 'foo' });
+ like $new->artistid, qr/^\d+\z/, 'Auto-PK returned a number';
ok($new->artistid > 0, "Auto-PK worked");
$seen_id{$new->artistid}++;