X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/981979b5a0937cd7fc4c5dab5b6c73777029b71e..feeb3fc8352:/t/datev/datev_format_2018.t diff --git a/t/datev/datev_format_2018.t b/t/datev/datev_format_2018.t index a829d909e..77a800ef8 100644 --- a/t/datev/datev_format_2018.t +++ b/t/datev/datev_format_2018.t @@ -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,