Get the column_info straight from the result class instead of
Dagfinn Ilmari Mannsåker [Mon, 28 Jan 2008 17:53:24 +0000 (17:53 +0000)]
going via $rs->result_source.

t/lib/dbixcsl_common_tests.pm

index 221cc19..a0904c2 100644 (file)
@@ -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'
         );
     }