X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fcdbi%2Fcopy.t;fp=t%2Fcdbi%2Fcopy.t;h=b1227816ba3ab7975865c13f8af7a3eb8693a0bc;hb=7305f6f933813eaa1a4a7b65bfc5f158d0d65c4d;hp=2741aadaf8bd06309c73f3135dee49f0e08bb5fc;hpb=3aa25d8b47104964c689be4ca8c1fc5b17781a7f;p=dbsrgits%2FDBIx-Class.git diff --git a/t/cdbi/copy.t b/t/cdbi/copy.t index 2741aad..b122781 100644 --- a/t/cdbi/copy.t +++ b/t/cdbi/copy.t @@ -18,6 +18,11 @@ use lib 't/cdbi/testlib'; __PACKAGE__->set_table('Movies'); __PACKAGE__->columns(All => qw(id title)); + # Disables the implicit autoinc-on-non-supplied-pk behavior + # (and the warning that goes with it) + # This is the same behavior as it was pre 0.082900 + __PACKAGE__->column_info('id')->{is_auto_increment} = 0; + sub create_sql { return qq{ id INTEGER PRIMARY KEY AUTOINCREMENT,