run pre_create when running only extra tests
Rafael Kitover [Sun, 12 Dec 2010 07:30:46 +0000 (02:30 -0500)]
t/lib/dbixcsl_common_tests.pm

index 3f2dc26..f7c37ce 100644 (file)
@@ -124,6 +124,7 @@ sub run_only_extra_tests {
         $self->drop_extra_tables_only;
 
         my $dbh = $self->dbconnect(1);
+        $dbh->do($_) for @{ $self->{pre_create} || [] };
         $dbh->do($_) for @{ $self->{extra}{create} || [] };
         $dbh->do($_) for @{ $self->{data_type_tests}{ddl} || []};
         $self->{_created} = 1;