Bugzilla – Attachment 81954 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.08 KB, created by
Kyle M Hall (khall)
on 2018-11-05 13:33:45 UTC
(
hide
)
Description:
Bug 20598: Unit test
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2018-11-05 13:33:45 UTC
Size:
1.08 KB
patch
obsolete
>From e5b5aa7937a78e6523b822a3b145bcc41d049d81 Mon Sep 17 00:00:00 2001 >From: root <root@e7279b8b0511> >Date: Mon, 5 Nov 2018 13:31:40 +0000 >Subject: [PATCH] Bug 20598: Unit test > >--- > 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 2d82c9ff0c..32d3012907 100755 >--- a/t/db_dependent/Circulation.t >+++ b/t/db_dependent/Circulation.t >@@ -17,7 +17,7 @@ > > use Modern::Perl; > >-use Test::More tests => 119; >+use Test::More tests => 120; > > 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.17.2 (Apple Git-113)
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