]> wagnertech.de Git - mfinanz.git/blobdiff - t/datev/datev_format_2018.t
Dateimanagement: Stammdaten: DOM-Elemente bei multiples Tab-Aufrufen nicht dupliziere...
[mfinanz.git] / t / datev / datev_format_2018.t
index 9857e0709ac0375d17677f6fa36112b7dfbcef1f..3660b28fde3feaf0712e2ceeeb4b82516ca88ca3 100644 (file)
@@ -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');
 
 
@@ -180,6 +180,7 @@ clear_up();
 
 sub clear_up {
   SL::DB::Manager::AccTransaction->delete_all( all => 1);
+  SL::DB::Manager::GLTransaction->delete_all(  all => 1);
   SL::DB::Manager::InvoiceItem->delete_all(    all => 1);
   SL::DB::Manager::Invoice->delete_all(        all => 1);
   SL::DB::Manager::Customer->delete_all(       all => 1);