X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/b49dd24d85c5a2e1683e32da92ea2160367c4cf3..HEAD:/t/db_helper/payment.t diff --git a/t/db_helper/payment.t b/t/db_helper/payment.t index 30ac115da..154e48c29 100644 --- a/t/db_helper/payment.t +++ b/t/db_helper/payment.t @@ -995,10 +995,12 @@ sub test_default_invoice_four_items_19_7_tax_with_skonto_4x_25_multiple { chart_id => $bank_account->chart_id, transdate => $transdate1, ); - $invoice->pay_invoice( payment_type => 'difference_as_skonto', + $invoice->pay_invoice( payment_type => 'free_skonto', chart_id => $bank_account->chart_id, transdate => $transdate1, - bt_id => $bt->id, + bt_id => $bt->id, + skonto_amount => $invoice->open_amount, + amount => 0, ); my ($number_of_payments, $paid_amount) = number_of_payments($invoice);