Bugzilla – Attachment 82395 Details for
Bug 20598
Accruing fines not closed out by longoverdue.pl if WhenLostForgiveFine is not enabled
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20598: Unit test
Bug-20598-Unit-test.patch (text/plain), 1.17 KB, created by
Marcel de Rooy
on 2018-11-16 10:50:36 UTC
(
hide
)
Description:
Bug 20598: Unit test
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2018-11-16 10:50:36 UTC
Size:
1.17 KB
patch
obsolete
>From 65caa7db9244a18fc15dca9d719b7d0f149ced4c Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Mon, 5 Nov 2018 13:31:40 +0000 >Subject: [PATCH] Bug 20598: Unit test >Content-Type: text/plain; charset=utf-8 > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > t/db_dependent/Circulation.t | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > >diff --git a/t/db_dependent/Circulation.t b/t/db_dependent/Circulation.t >index 3b1da09..b9f927f 100755 >--- a/t/db_dependent/Circulation.t >+++ b/t/db_dependent/Circulation.t >@@ -17,7 +17,7 @@ > > use Modern::Perl; > >-use Test::More tests => 120; >+use Test::More tests => 121; > > use Data::Dumper; > use DateTime; >@@ -854,6 +854,9 @@ C4::Context->dbh->do("DELETE FROM accountlines"); > > LostItem( $itemnumber, 'test', 1 ); > >+ $line = Koha::Account::Lines->find($line->id); >+ is( $line->accounttype, 'F', 'Account type correctly changed from FU to F' ); >+ > my $item = Koha::Database->new()->schema()->resultset('Item')->find($itemnumber); > ok( !$item->onloan(), "Lost item marked as returned has false onloan value" ); > my $checkout = Koha::Checkouts->find({ itemnumber => $itemnumber }); >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 20598
:
74377
|
75932
|
81953
|
81954
|
82391
|
82392
|
82394
| 82395 |
82396