From: G. Richardson Date: Wed, 1 Feb 2017 09:59:05 +0000 (+0100) Subject: bank_transactions.t - Punktetest für test_two_invoices X-Git-Tag: release-3.5.4~1571 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=534a3e7e50b486ae3efcdc60d984b168c271ac0f;p=kivitendo-erp.git bank_transactions.t - Punktetest für test_two_invoices --- diff --git a/t/bank/bank_transactions.t b/t/bank/bank_transactions.t index b5e5cad96..40c1c8a86 100644 --- a/t/bank/bank_transactions.t +++ b/t/bank/bank_transactions.t @@ -270,6 +270,9 @@ sub test_two_invoices { bank_chart_id => $bank->id, ) or die "Couldn't create bank_transaction"; + my ($agreement, $rule_matches) = $bt->get_agreement_with_invoice($ar_transaction_1); + is($agreement, 16, "points for ar_transaction_1 in test_two_invoices ok"); + $::form->{invoice_ids} = { $bt->id => [ $ar_transaction_1->id, $ar_transaction_2->id ] };