From: Sven Schöling Date: Tue, 10 Oct 2017 12:22:52 +0000 (+0200) Subject: Warnings X-Git-Tag: release-3.5.4~714 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=0084e295cf384c8c13001923f20de278d74435ea;p=kivitendo-erp.git Warnings --- diff --git a/t/datev/datev_format_2018.t b/t/datev/datev_format_2018.t index fb66dafb4..3660b28fd 100644 --- a/t/datev/datev_format_2018.t +++ b/t/datev/datev_format_2018.t @@ -70,7 +70,7 @@ $datev1->from($startdate); $datev1->to($enddate); $datev1->csv_buchungsexport(); my @warnings = $datev1->warnings; -is(@warnings[0]->[0]->{untranslated}, +is($warnings[0]->[0]->{untranslated}, 'Wrong field value \'#1\' for field \'#2\' for the transaction with amount \'#3\'', 'wrong_encoding'); @@ -90,7 +90,7 @@ $datev3->generate_datev_lines; $datev3->csv_buchungsexport; @warnings = []; @warnings = $datev3->warnings; -is(@warnings[0]->[0]->{untranslated}, +is($warnings[0]->[0]->{untranslated}, 'Wrong field value \'#1\' for field \'#2\' for the transaction with amount \'#3\'', 'mixed_wrong_encoding');