Bugzilla – Attachment 57290 Details for
Bug 17575
Remove Circulation.t warnings
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 17575: (followup) Remove missing fine type warnings
SIGNED-OFF-Bug-17575-followup-Remove-missing-fine-.patch (text/plain), 1.60 KB, created by
Josef Moravec
on 2016-11-07 21:36:36 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 17575: (followup) Remove missing fine type warnings
Filename:
MIME Type:
Creator:
Josef Moravec
Created:
2016-11-07 21:36:36 UTC
Size:
1.60 KB
patch
obsolete
>From 5bb409c3fb1179ffda85d319f796fa627f7f0f34 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Mon, 7 Nov 2016 16:08:02 -0300 >Subject: [PATCH] [SIGNED-OFF] Bug 17575: (followup) Remove missing fine type > warnings > >Sponsored-by: ByWater Solutions > >Signed-off-by: Josef Moravec <josef.moravec@gmail.com> >--- > 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 0fe2872..f29dcd0 100755 >--- a/t/db_dependent/Circulation.t >+++ b/t/db_dependent/Circulation.t >@@ -840,7 +840,8 @@ C4::Context->dbh->do("DELETE FROM accountlines"); > issue_id => $issue->id(), > itemnumber => $itemnumber, > borrowernumber => $borrowernumber, >- amount => 0 >+ amount => 0, >+ type => q{} > } > ); > >@@ -1007,6 +1008,7 @@ C4::Context->dbh->do("DELETE FROM accountlines"); > itemnumber => $itemnumber, > borrowernumber => $patron->{borrowernumber}, > amount => 1, >+ type => q{} > } > ); > UpdateFine( >@@ -1015,6 +1017,7 @@ C4::Context->dbh->do("DELETE FROM accountlines"); > itemnumber => $itemnumber, > borrowernumber => $patron->{borrowernumber}, > amount => 2, >+ type => q{} > } > ); > is( Koha::Account::Lines->search({ issue_id => $issue->id })->count, 1, 'UpdateFine should not create a new accountline when updating an existing fine'); >-- >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 17575
:
57278
|
57279
|
57289
|
57290
|
57446
|
57447