From: Dagfinn Ilmari Mannsåker Date: Mon, 28 Jan 2008 17:53:24 +0000 (+0000) Subject: Get the column_info straight from the result class instead of X-Git-Tag: 0.04999_01~5 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e134e612a332b9a727484a7f152545ff8f529940;p=dbsrgits%2FDBIx-Class-Schema-Loader.git Get the column_info straight from the result class instead of going via $rs->result_source. --- diff --git a/t/lib/dbixcsl_common_tests.pm b/t/lib/dbixcsl_common_tests.pm index 221cc19..a0904c2 100644 --- a/t/lib/dbixcsl_common_tests.pm +++ b/t/lib/dbixcsl_common_tests.pm @@ -230,7 +230,7 @@ sub run_tests { skip "This vendor doesn't detect auto-increment columns", 1 if $self->{no_auto_increment}; - is( $rsobj1->result_source->column_info('id')->{is_auto_increment}, 1, + is( $class1->column_info('id')->{is_auto_increment}, 1, 'Setting is_auto_incrment works' ); }