X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=t%2Fhelper%2Fcsv.t;h=95ca14b36344c733d0e5f43015a4d5c3177bfd24;hb=f4da9593b8f91ae5d57437ed124f9c9d859bc698;hp=7997fe77f57227ab95623d5fb2dd2d1119849285;hpb=552ed9ba654d034d3846934efe97470e16b4cabc;p=kivitendo-erp.git diff --git a/t/helper/csv.t b/t/helper/csv.t index 7997fe77f..95ca14b36 100644 --- a/t/helper/csv.t +++ b/t/helper/csv.t @@ -141,7 +141,7 @@ EOL profile => [{class => 'SL::DB::Part'}], ); $csv->parse; -is $csv->get_objects->[0]->lastcost, '1221.52', 'ignore_unkown_columns works'; +is $csv->get_objects->[0]->lastcost, '1221.52', 'ignore_unknown_columns works'; ##### @@ -629,7 +629,7 @@ EOL ignore_unknown_columns => 1, ); ok !$csv->parse, 'multiplex check detects incosistent datatype field position'; -is_deeply( ($csv->errors)[0], [ 0, 'datatype field must be at the same position for all datatypes for multiplexed data', 0, 0 ], 'multiplex data with inconsistent datatype field posiotion throws error'); +is_deeply( ($csv->errors)[0], [ undef, 0, 'datatype field must be at the same position for all datatypes for multiplexed data', 0, 0 ], 'multiplex data with inconsistent datatype field posiotion throws error'); #####