summaryrefslogtreecommitdiff
path: root/t/62-api.t
diff options
context:
space:
mode:
Diffstat (limited to 't/62-api.t')
-rw-r--r--t/62-api.t3
1 files changed, 3 insertions, 0 deletions
diff --git a/t/62-api.t b/t/62-api.t
index 3357a8ba..02b5dea6 100644
--- a/t/62-api.t
+++ b/t/62-api.t
@@ -35,6 +35,9 @@ my $dbh = LedgerSMB::DBTest->connect("dbi:Pg:dbname=$ENV{PGDATABASE}", undef, un
my $locale = LedgerSMB::Locale->get_handle( ${LedgerSMB::Sysconfig::language} );
for my $test (@$test_request_data){
+ if (ref $pre_test_subs->{"$test->{_test_id}"} eq 'CODE'){
+ $pre_test_subs->{"$test->{_test_id}"}();
+ }
if (lc $test->{_codebase} eq 'old'){
next; # skip old codebase tests for now
old_code_test::_load_script($test->{module});