Bugzilla – Attachment 57447 Details for
Bug 17575
Remove Circulation.t warnings
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17575: (followup) Remove missing fine type warnings
Bug-17575-followup-Remove-missing-fine-type-warnin.patch (text/plain), 1.68 KB, created by
Marcel de Rooy
on 2016-11-11 08:15:15 UTC
(
hide
)
Description:
Bug 17575: (followup) Remove missing fine type warnings
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2016-11-11 08:15:15 UTC
Size:
1.68 KB
patch
obsolete
>From c764a4fc71b5f7ed369904298caad25f68528eda 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] Bug 17575: (followup) Remove missing fine type warnings >Content-Type: text/plain; charset=utf-8 > >Sponsored-by: ByWater Solutions > >Signed-off-by: Josef Moravec <josef.moravec@gmail.com> > >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 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