Bugzilla – Attachment 74867 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: Set the timestamps to the same value to get a correct order
Bug-20531-Set-the-timestamps-to-the-same-value-to-.patch (text/plain), 985 bytes, created by
Jonathan Druart
on 2018-04-25 20:39:40 UTC
(
hide
)
Description:
Bug 20531: Set the timestamps to the same value to get a correct order
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2018-04-25 20:39:40 UTC
Size:
985 bytes
patch
obsolete
>From af607bd5493570306607536c79fef63cc2f76432 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 25 Apr 2018 17:38:38 -0300 >Subject: [PATCH] Bug 20531: Set the timestamps to the same value to get a > correct order > >--- > 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 5d06ace6ec..c4d485a15e 100644 >--- a/t/db_dependent/Members/IssueSlip.t >+++ b/t/db_dependent/Members/IssueSlip.t >@@ -226,6 +226,11 @@ EOS > $issue_date = $yesterday->clone; > AddIssue( $borrower, $barcode2, $date_due_in_time, 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