SelfTests korrekt reinitialisieren
authorSven Schöling <s.schoeling@linet-services.de>
Fri, 9 Nov 2012 10:29:43 +0000 (11:29 +0100)
committerSven Schöling <s.schoeling@linet-services.de>
Fri, 9 Nov 2012 10:30:29 +0000 (11:30 +0100)
Fix für #1991

SL/BackgroundJob/SelfTest.pm

index 917dc0e..37a02eb 100644 (file)
@@ -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});