Bugzilla – Attachment 81977 Details for
Bug 18677
issue_id is not added to accountlines for lost item fees
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18677: Make the tests pass
Bug-18677-Make-the-tests-pass.patch (text/plain), 1.09 KB, created by
Michal Denar
on 2018-11-06 07:02:11 UTC
(
hide
)
Description:
Bug 18677: Make the tests pass
Filename:
MIME Type:
Creator:
Michal Denar
Created:
2018-11-06 07:02:11 UTC
Size:
1.09 KB
patch
obsolete
>From d3066461d64f6a23319a050c60fc8751f57bbd2a Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 1 Nov 2018 11:47:16 -0300 >Subject: [PATCH] Bug 18677: Make the tests pass > >Signed-off-by: Michal Denar <black23@gmail.com> > >Signed-off-by: Michal Denar <black23@gmail.com> >--- > t/db_dependent/Accounts.t | 3 +++ > 1 file changed, 3 insertions(+) > >diff --git a/t/db_dependent/Accounts.t b/t/db_dependent/Accounts.t >index 3e1bc0e6af..8d995e5ce0 100644 >--- a/t/db_dependent/Accounts.t >+++ b/t/db_dependent/Accounts.t >@@ -640,6 +640,9 @@ subtest "Koha::Account::chargelostitem tests" => sub { > is( $lostfine->amount, "6.120000", "Lost fine equals replacementcost when pref on and default set"); > is( $procfee->amount, "2.040000", "Processing fee if processing fee"); > is( $procfee->issue_id, $cli_issue_id_4, "Processing fee issue id is correct" ); >+ >+ # Cleanup - this must be replaced with a transaction per subtest >+ Koha::Patrons->find($cli_borrowernumber)->checkouts->delete; > }; > > subtest "Koha::Account::non_issues_charges tests" => sub { >-- >2.11.0
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 18677
:
74022
|
74165
|
81133
|
81732
|
81823
|
81824
|
81976
|
81977
|
81978
|
82386
|
82387
|
82388
|
82389