Bugzilla – Attachment 89564 Details for
Bug 22433
Add debug statements to understand why SIP/Transaction.t is failing randomly
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22433: Use Data::Dumper instead of Data::Printer
Bug-22433-Use-DataDumper-instead-of-DataPrinter.patch (text/plain), 1.27 KB, created by
Jonathan Druart
on 2019-05-10 17:32:54 UTC
(
hide
)
Description:
Bug 22433: Use Data::Dumper instead of Data::Printer
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2019-05-10 17:32:54 UTC
Size:
1.27 KB
patch
obsolete
>From 1fc43529c1cf0f4d89c34bd2b86dd3acd811be5f Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Fri, 10 May 2019 12:32:23 -0500 >Subject: [PATCH] Bug 22433: Use Data::Dumper instead of Data::Printer > >Data::Printer is not in our deps >--- > t/db_dependent/SIP/Transaction.t | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/t/db_dependent/SIP/Transaction.t b/t/db_dependent/SIP/Transaction.t >index 0197c9c663..0e78505cd4 100755 >--- a/t/db_dependent/SIP/Transaction.t >+++ b/t/db_dependent/SIP/Transaction.t >@@ -87,8 +87,8 @@ subtest fill_holds_at_checkout => sub { > is( $transaction->patron( $sip_patron ), $sip_patron, "Patron assigned to transaction" ); > is( $transaction->item( $sip_item ), $sip_item, "Item assigned to transaction" ); > my $checkout = $transaction->do_checkout(); >- use Data::Printer colored => 1; # Temporary debug statement >- is( $bib->holds->count(), 1, "Bib has 1 holds remaining") or diag p $checkout; >+ use Data::Dumper; # Temporary debug statement >+ is( $bib->holds->count(), 1, "Bib has 1 holds remaining") or diag Dumper $checkout; > > t::lib::Mocks::mock_preference('itemBarcodeInputFilter', 'whitespace'); > $sip_item = C4::SIP::ILS::Item->new( ' barcode 4 test '); >-- >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 22433
:
89521
|
89547
| 89564