X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=t%2Fcontrollers%2Fcsvimport%2Fparts.t;h=86a3c78ca8fc74f5b6aefe1113e3866b03e74d0a;hb=a8fb17eaa5b626f00321bfa6b661488849c736e5;hp=2d5898e9c53e54374f0f28b99766faebded9ad39;hpb=cdc396f5543250ac2cd9ad5b9b45bd2806c8e6c5;p=kivitendo-erp.git diff --git a/t/controllers/csvimport/parts.t b/t/controllers/csvimport/parts.t index 2d5898e9c..86a3c78ca 100644 --- a/t/controllers/csvimport/parts.t +++ b/t/controllers/csvimport/parts.t @@ -102,7 +102,7 @@ sub test_import { ); $controller->load_default_profile; $controller->profile->set( - encoding => 'utf-8', + charset => 'utf-8', sep_char => ';', quote_char => '"', numberformat => $::myconfig{numberformat}, @@ -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}};