From: Sven Schöling Date: Fri, 16 Nov 2012 17:12:48 +0000 (+0100) Subject: test korrekt mitschleifen X-Git-Tag: release-3.1.0beta1~723 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=6c9ab8b5b01ddf0bf4fd7ab6e5a17aa87603e6b8;p=kivitendo-erp.git test korrekt mitschleifen --- diff --git a/SL/BackgroundJob/CsvImport.pm b/SL/BackgroundJob/CsvImport.pm index 5471addb5..18cf7cf0d 100644 --- a/SL/BackgroundJob/CsvImport.pm +++ b/SL/BackgroundJob/CsvImport.pm @@ -74,7 +74,7 @@ sub do_import { plan => { 'parsing csv' => 1, 'building data' => 2, - ( 'saving data' => 3, )x!!$test, + ( 'saving data' => 3, )x!$test, 'building report' => ($test ? 3 : 4), }, num_phases => ($test ? 3 : 4), @@ -82,7 +82,7 @@ sub do_import { $c->add_progress_tracker($self); - $c->test_and_import(test => 1, session_id => $job->data_as_hash->{session_id}); + $c->test_and_import(test => $test, session_id => $job->data_as_hash->{session_id}); if ($c->errors) { $job->set_data(