Bugzilla – Attachment 75135 Details for
Bug 20531
IssueSlip is failing randomly
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20531: (follow-up) Set the timestamps to the same value to get a correct order
Bug-20531-follow-up-Set-the-timestamps-to-the-same.patch (text/plain), 1.00 KB, created by
Jonathan Druart
on 2018-05-07 15:23:15 UTC
(
hide
)
Description:
Bug 20531: (follow-up) Set the timestamps to the same value to get a correct order
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2018-05-07 15:23:15 UTC
Size:
1.00 KB
patch
obsolete
>From 83b73bc4271068f472506deb3c125de16414e7e9 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 7 May 2018 12:22:40 -0300 >Subject: [PATCH] Bug 20531: (follow-up) Set the timestamps to the same value > to get a correct order > >There were 2 places where it was failing! >--- > t/db_dependent/Members/IssueSlip.t | 5 +++++ > 1 file changed, 5 insertions(+) > >diff --git a/t/db_dependent/Members/IssueSlip.t b/t/db_dependent/Members/IssueSlip.t >index c4d485a15e..bfab08c8af 100644 >--- a/t/db_dependent/Members/IssueSlip.t >+++ b/t/db_dependent/Members/IssueSlip.t >@@ -161,6 +161,11 @@ EOS > $issue_date = $yesterday_daily; > AddIssue( $borrower, $barcode2, $date_due, undef, $issue_date ); > >+ # Set timestamps to the same value to avoid a different order >+ Koha::Checkouts->search( >+ { borrowernumber => $borrower->{borrowernumber} } >+ )->update( { timestamp => dt_from_string } ); >+ > $expected_slip = <<EOS; > Checked out: > >-- >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 20531
:
73721
|
74847
|
74867
| 75135