X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fcdbi%2Ftestlib%2FActor.pm;h=3bffd09d34b6231b38955a4989e525fc52324965;hb=09d2e66a5d5558ef9a19dc2ec510d5dafd2fb7d8;hp=83a03b9fe85588407ce1c5bf0304532b9588e6fe;hpb=8273e845426f0187b4ad6c4a1b42286fa09a648f;p=dbsrgits%2FDBIx-Class.git diff --git a/t/cdbi/testlib/Actor.pm b/t/cdbi/testlib/Actor.pm index 83a03b9..3bffd09 100644 --- a/t/cdbi/testlib/Actor.pm +++ b/t/cdbi/testlib/Actor.pm @@ -13,6 +13,11 @@ __PACKAGE__->columns(All => qw/ Name Film Salary /); __PACKAGE__->columns(TEMP => qw/ nonpersistent /); __PACKAGE__->add_constructor(salary_between => 'salary >= ? AND salary <= ?'); +# 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 mutator_name_for { "set_$_[1]" } sub create_sql {