projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
bd65ae7
)
Bug 18999: (17.05.x followup) Koha::Acquisition::Order is not an object yet
author
Fridolin Somers
<fridolin.somers@biblibre.com>
Wed, 25 Oct 2017 09:03:00 +0000 (11:03 +0200)
committer
Katrin Fischer
<katrin.fischer.83@web.de>
Sun, 29 Oct 2017 18:17:25 +0000 (19:17 +0100)
(cherry picked from commit
1644708857ea3d3de6683bcf8e1300febc977384
)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
t/db_dependent/Budgets.t
patch
|
blob
|
history
diff --git
a/t/db_dependent/Budgets.t
b/t/db_dependent/Budgets.t
index
ca23488
..
927c31c
100755
(executable)
--- a/
t/db_dependent/Budgets.t
+++ b/
t/db_dependent/Budgets.t
@@
-459,11
+459,11
@@
my $order = Koha::Acquisition::Order->new(
discount => 0,
uncertainprice => 0,
}
-)->store;
+)->insert;
ModReceiveOrder({
bibionumber => $biblio,
- order => $order->unblessed,
+ order => $order,
budget_id => $fund,
quantityreceived => 2,
invoice => $test_invoice,