]> wagnertech.de Git - mfinanz.git/blobdiff - t/datev/datev_format_2018.t
Bankbewegung: Zuweisungsüberbuchungen per Constraint verbieten
[mfinanz.git] / t / datev / datev_format_2018.t
index a829d909e7c454e5ef1f0a7ea6714b2617a0c18f..77a800ef82dd42d7b826daf92469caf86fb5150e 100644 (file)
@@ -19,6 +19,10 @@ Support::TestSetup::login();
 my $dbh = SL::DB->client->dbh;
 
 clear_up();
+
+my $d = SL::DB::Default->get;
+$d->update_attributes(datev_export_format => 'cp1252');
+
 my $buchungsgruppe7 = SL::DB::Manager::Buchungsgruppe->find_by(description => 'Standard 7%') || die "No accounting group for 7\%";
 my $date            = DateTime->new(year => 2017, month =>  7, day => 19);
 my $department      = create_department(description => 'Kästchenweiße heiße Preise');
@@ -235,7 +239,6 @@ my $datev2 = SL::DATEV->new(
 $datev2->from($startdate);
 $datev2->to($enddate);
 $datev2->generate_datev_data;
-$datev2->generate_datev_lines;
 
 my $datev_csv3  = SL::DATEV::CSV->new(datev_lines  => $datev2->generate_datev_lines,
                                       from         => $startdate,