projects
/
dbsrgits/DBIx-Class-Schema-Loader.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
e83cb14
)
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
patch
|
blob
|
blame
|
history
diff --git
a/t/lib/dbixcsl_common_tests.pm
b/t/lib/dbixcsl_common_tests.pm
index
3f2dc26
..
f7c37ce
100644
(file)
--- a/
t/lib/dbixcsl_common_tests.pm
+++ b/
t/lib/dbixcsl_common_tests.pm
@@
-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;