projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
11f548d
)
goodperl: Doppelte Variablennamen raus
author
Jan Büren
<jan@kivitendo-premium.de>
Mon, 9 Jul 2018 10:52:01 +0000
(12:52 +0200)
committer
Jan Büren
<jan@kivitendo-premium.de>
Mon, 16 Jul 2018 10:41:57 +0000
(12:41 +0200)
t/bank/bank_transactions.t
patch
|
blob
|
history
diff --git
a/t/bank/bank_transactions.t
b/t/bank/bank_transactions.t
index
45251b3
..
0bb9542
100644
(file)
--- a/
t/bank/bank_transactions.t
+++ b/
t/bank/bank_transactions.t
@@
-946,7
+946,7
@@
sub test_two_banktransactions {
# Jetzt gibt es zwei Kontobewegungen mit gleichen Punkten für eine Rechnung.
# hier darf es auch keine Proposals geben
# Jetzt gibt es zwei Kontobewegungen mit gleichen Punkten für eine Rechnung.
# hier darf es auch keine Proposals geben
-
my
( $bt_transactions, $proposals ) = $bt_controller->action_list;
+ ( $bt_transactions, $proposals ) = $bt_controller->action_list;
is(scalar(@$bt_transactions) , 2 , "$testname: two bank_transaction");
is(scalar(@$proposals) , 0 , "$testname: no proposals");
is(scalar(@$bt_transactions) , 2 , "$testname: two bank_transaction");
is(scalar(@$proposals) , 0 , "$testname: no proposals");
@@
-956,7
+956,7
@@
sub test_two_banktransactions {
# hier darf es auch keine Proposals geben
$bt3->update_attributes( purpose => "fuer Rechnung salesinv10000");
# hier darf es auch keine Proposals geben
$bt3->update_attributes( purpose => "fuer Rechnung salesinv10000");
-
my
( $bt_transactions, $proposals ) = $bt_controller->action_list;
+ ( $bt_transactions, $proposals ) = $bt_controller->action_list;
is(scalar(@$bt_transactions) , 2 , "$testname: two bank_transaction");
is(scalar(@$proposals) , 1 , "$testname: one proposal");
is(scalar(@$bt_transactions) , 2 , "$testname: two bank_transaction");
is(scalar(@$proposals) , 1 , "$testname: one proposal");