X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fcdbi%2Ftestlib%2FColumnObject.pm;fp=t%2Fcdbi%2Ftestlib%2FColumnObject.pm;h=0811367e0e81db84d86670e2239d9aa7828983fe;hb=7305f6f933813eaa1a4a7b65bfc5f158d0d65c4d;hp=11eeb893eee9da251a5112f7696aef95dca2ec7a;hpb=3aa25d8b47104964c689be4ca8c1fc5b17781a7f;p=dbsrgits%2FDBIx-Class.git diff --git a/t/cdbi/testlib/ColumnObject.pm b/t/cdbi/testlib/ColumnObject.pm index 11eeb89..0811367 100644 --- a/t/cdbi/testlib/ColumnObject.pm +++ b/t/cdbi/testlib/ColumnObject.pm @@ -18,6 +18,11 @@ __PACKAGE__->columns( All => ( Class::DBI::Column->new('columnb' => {mutator => 'columnb_as_write'}), )); +# 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,