projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
812adec
)
Bug 20285: Unit Test
author
Kyle M Hall
<kyle@bywatetsolutions.com>
Fri, 23 Feb 2018 13:44:24 +0000
(08:44 -0500)
committer
Nick Clemens
<nick@bywatersolutions.com>
Fri, 15 Jun 2018 10:38:10 +0000
(10:38 +0000)
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
t/db_dependent/Circulation.t
patch
|
blob
|
history
diff --git
a/t/db_dependent/Circulation.t
b/t/db_dependent/Circulation.t
index
eca91fd
..
9f0791a
100755
(executable)
--- a/
t/db_dependent/Circulation.t
+++ b/
t/db_dependent/Circulation.t
@@
-1994,6
+1994,16
@@
subtest '_FixAccountForLostAndReturned' => sub {
my $patron = $builder->build( { source => 'Borrower' } );
+ Koha::Account::Line->new(
+ {
+ borrowernumber => $patron->{borrowernumber},
+ accounttype => 'F',
+ itemnumber => $itemnumber,
+ amount => 10.00,
+ amountoutstanding => 10.00,
+ }
+ )->store();
+
my $accountline = Koha::Account::Line->new(
{
borrowernumber => $patron->{borrowernumber},