From: Sven Schöling Date: Fri, 9 Nov 2012 10:29:43 +0000 (+0100) Subject: SelfTests korrekt reinitialisieren X-Git-Tag: release-3.0.0beta1~18 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=9d678395922d085047e6d70c0a8c0851759fecd9;p=kivitendo-erp.git SelfTests korrekt reinitialisieren Fix für #1991 --- diff --git a/SL/BackgroundJob/SelfTest.pm b/SL/BackgroundJob/SelfTest.pm index 917dc0e18..37a02eb94 100644 --- a/SL/BackgroundJob/SelfTest.pm +++ b/SL/BackgroundJob/SelfTest.pm @@ -37,6 +37,7 @@ sub setup { $self->config($::lx_office_conf{self_test} || {}); $self->tester(Test::Builder->new); + $self->tester->reset; # stupid Test::Builder mplementation uses class variables $self->aggreg(TAP::Parser::Aggregator->new); $self->modules(split /\s+/, $self->config->{modules});