]> wagnertech.de Git - kivitendo-erp.git/blobdiff - SL/BackgroundJob/SelfTest.pm
Refactoring: Parameterredesign SL::Controller::Base::render und SL::Presenter::render
[kivitendo-erp.git] / SL / BackgroundJob / SelfTest.pm
index 241a9952eae2ddcaefba2b2324797196cc95ac8f..37a02eb949e28c7e306da3d4bc11f395d185ae20 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});
@@ -173,12 +174,12 @@ __END__
 
 =head1 NAME
 
-SL::BackgroundJob::TelfTests - pluggable self testing
+SL::BackgroundJob::SelfTest - pluggable self testing
 
 =head1 SYNOPSIS
 
-  use SL::BackgroundJob::SelfTests;
-  SL::BackgroundJob::SelfTests->new->run;;
+  use SL::BackgroundJob::SelfTest;
+  SL::BackgroundJob::SelfTest->new->run;;
 
 =head1 DESCRIPTION