projects
/
dbsrgits/DBIx-Class-Schema-Loader.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
run pre_create when running only extra tests
[dbsrgits/DBIx-Class-Schema-Loader.git]
/
t
/
lib
/
dbixcsl_common_tests.pm
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;