Bugzilla – Attachment 86643 Details for
Bug 14591
book drop / drop box mode incorrectly decrements accrued overdue fines
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14591: (QA follow-up) Fix AddReturn call in Circulation/issue.t
Bug-14591-QA-follow-up-Fix-AddReturn-call-in-Circu.patch (text/plain), 1.20 KB, created by
Josef Moravec
on 2019-03-15 09:46:32 UTC
(
hide
)
Description:
Bug 14591: (QA follow-up) Fix AddReturn call in Circulation/issue.t
Filename:
MIME Type:
Creator:
Josef Moravec
Created:
2019-03-15 09:46:32 UTC
Size:
1.20 KB
patch
obsolete
>From 6d77685365670110aa818d15b4de350381a387a1 Mon Sep 17 00:00:00 2001 >From: Josef Moravec <josef.moravec@gmail.com> >Date: Fri, 15 Mar 2019 09:41:22 +0000 >Subject: [PATCH] Bug 14591: (QA follow-up) Fix AddReturn call in > Circulation/issue.t > >Test plan: >prove t/db_dependent/Circulation/issue.t > >Signed-off-by: Josef Moravec <josef.moravec@gmail.com> >--- > t/db_dependent/Circulation/issue.t | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/t/db_dependent/Circulation/issue.t b/t/db_dependent/Circulation/issue.t >index e523778177..97c390211d 100644 >--- a/t/db_dependent/Circulation/issue.t >+++ b/t/db_dependent/Circulation/issue.t >@@ -342,7 +342,7 @@ ok( $return->{return_date} eq $return->{today}, "Item returned with no return da > > $dbh->do("DELETE FROM old_issues"); > C4::Circulation::AddIssue( $borrower_1, $barcode_1, $daysago10, 0, $today ); >-AddReturn($barcode_1, undef, undef, undef, '2014-04-01 23:42'); >+AddReturn($barcode_1, undef, undef, dt_from_string('2014-04-01 23:42')); > $return = $dbh->selectrow_hashref("SELECT * FROM old_issues LIMIT 1" ); > ok( $return->{returndate} eq '2014-04-01 23:42:00', "Item returned with a return date of '2014-04-01 23:42' has that return date" ); > >-- >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 14591
:
86611
|
86612
|
86613
|
86614
|
86615
|
86616
|
86618
|
86619
|
86620
|
86621
|
86639
|
86640
|
86641
|
86642
| 86643 |
86676