Bugzilla – Attachment 74847 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: Add diag to help debug next failure
Bug-20531-Add-diag-to-help-debug-next-failure.patch (text/plain), 1.27 KB, created by
Jonathan Druart
on 2018-04-25 15:17:40 UTC
(
hide
)
Description:
Bug 20531: Add diag to help debug next failure
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2018-04-25 15:17:40 UTC
Size:
1.27 KB
patch
obsolete
>From 53045699eb84926f41b3316fd9f96bed7671dbed Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 25 Apr 2018 12:17:19 -0300 >Subject: [PATCH] Bug 20531: Add diag to help debug next failure > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > t/db_dependent/Members/IssueSlip.t | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >diff --git a/t/db_dependent/Members/IssueSlip.t b/t/db_dependent/Members/IssueSlip.t >index a88772929e..5d06ace6ec 100644 >--- a/t/db_dependent/Members/IssueSlip.t >+++ b/t/db_dependent/Members/IssueSlip.t >@@ -18,6 +18,7 @@ > > use Modern::Perl; > >+use Data::Dumper; # REMOVEME with diag > use Test::More tests => 3; > use Test::MockModule; > use Test::MockTime qw( set_fixed_time ); >@@ -242,7 +243,8 @@ Overdues: > > EOS > $slip = IssueSlip( $branchcode, $borrowernumber ); >- is( $slip->{content}, $expected_slip, 'IssueSlip should return a slip with 2 checkouts' ); >+ is( $slip->{content}, $expected_slip, 'IssueSlip should return a slip with 2 checkouts' ) >+ or diag(Dumper(Koha::Checkouts->search({borrowernumber => $borrower->{borrowernumber}})->unblessed)); > > AddReturn( $barcode1, $branchcode ); > AddReturn( $barcode2, $branchcode ); >-- >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