X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=t%2Fdatev%2Fdatev_format_2018.t;h=a829d909e7c454e5ef1f0a7ea6714b2617a0c18f;hb=141b46dfdd43b461bbbe2fdd4c5fcadc3d5247b4;hp=4e43b3c0b7fa393ec942a59c800e807997e3f2fc;hpb=d0b6af4dcb0e4b0ff1c34fa6e07e6a8a926ec366;p=kivitendo-erp.git diff --git a/t/datev/datev_format_2018.t b/t/datev/datev_format_2018.t index 4e43b3c0b..a829d909e 100644 --- a/t/datev/datev_format_2018.t +++ b/t/datev/datev_format_2018.t @@ -145,7 +145,7 @@ ok(scalar @{ $datev_csv4->warnings } == 0, 'no warnings'); my @sorted = sort { $a->[0] cmp $b->[0] } @{ $lines_aref }; cmp_deeply $sorted[0], [ '1963,5', 'S', 'EUR', '', '', '', '1400', '8400', '', '1907', 'meine muh', - '', '', '', '', '', '', '', '', '', + '', '', 'Test customer', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', "K\x{e4}stchen", '299', '','DE12345678', '', '', '', @@ -161,7 +161,7 @@ cmp_deeply $sorted[0], [ '1963,5', 'S', 'EUR', '', '', '', ]; cmp_deeply $sorted[1], [ '535', 'S', 'EUR', '', '', '', '1400', '8300', '', '1907','meine muh', - '', '', '', '', '', '', '', '', '', + '', '', 'Test customer', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', "K\x{e4}stchen", '299', '','DE12345678', '', '', '', @@ -244,8 +244,8 @@ my $datev_csv3 = SL::DATEV::CSV->new(datev_lines => $datev2->generate_datev_li ); my @data_csv = sort { $a->[0] cmp $b->[0] } @{ $datev_csv3->lines }; -cmp_deeply($data_csv[0], [ 100, 'H', 'EUR', '', '', '', '4660', '1000', 9, '1703', 'Reise März 2', - '', '', '', '', '', '', '', '', '', '', '', +cmp_deeply($data_csv[0], [ '100', 'S', 'EUR', '', '', '', '4660', '1000', 9, '1703', 'Reise März 2', + '', '', 'Reisekonsten März 2018 / Ma Schmidt', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '',