From 534a3e7e50b486ae3efcdc60d984b168c271ac0f Mon Sep 17 00:00:00 2001 From: "G. Richardson" Date: Wed, 1 Feb 2017 10:59:05 +0100 Subject: [PATCH] =?utf8?q?bank=5Ftransactions.t=20-=20Punktetest=20f=C3=BC?= =?utf8?q?r=20test=5Ftwo=5Finvoices?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- t/bank/bank_transactions.t | 3 +++ 1 file changed, 3 insertions(+) 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 ] }; -- 2.20.1