]> wagnertech.de Git - kivitendo-erp.git/commitdiff
csv_import tests: Falsche Parameterübergabe
authorSven Schöling <s.schoeling@linet-services.de>
Tue, 22 Aug 2017 15:43:38 +0000 (17:43 +0200)
committerSven Schöling <s.schoeling@linet-services.de>
Tue, 22 Aug 2017 15:43:38 +0000 (17:43 +0200)
t/controllers/csvimport/artransactions.t
t/controllers/csvimport/parts.t

index 8dc650de361b7b63c18f889a6f79ce754f37750d..670b5aba2a500b4e0d47092d8b18b6382888b63a 100644 (file)
@@ -86,7 +86,7 @@ sub test_import {
   );
 
   # $csv_artransactions_import->init_vc_by;
-  $csv_artransactions_import->run({test => 0});
+  $csv_artransactions_import->run(test => 0);
 
   # don't try and save objects that have errors
   $csv_artransactions_import->save_objects unless scalar @{$csv_artransactions_import->controller->data->[0]->{errors}};
index fcb068565c69b02726b33f2a72ffe53ebacfa4b2..86a3c78ca8fc74f5b6aefe1113e3866b03e74d0a 100644 (file)
@@ -115,7 +115,7 @@ sub test_import {
   );
   #print "profile param type=".$csv_part_import->settings->{parts_type}."\n";
 
-  $csv_part_import->run({test => 0});
+  $csv_part_import->run(test => 0);
 
   # don't try and save objects that have errors
   $csv_part_import->save_objects unless scalar @{$csv_part_import->controller->data->[0]->{errors}};