Bugzilla – Attachment 68539 Details for
Bug 19529
NoIssuesChargeGuarantees.t is failing randomly
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19529: Prevent NoIssuesChargeGuarantees.t to fail randomly
Bug-19529-Prevent-NoIssuesChargeGuaranteest-to-fai.patch (text/plain), 1.38 KB, created by
Jonathan Druart
on 2017-10-25 16:17:50 UTC
(
hide
)
Description:
Bug 19529: Prevent NoIssuesChargeGuarantees.t to fail randomly
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2017-10-25 16:17:50 UTC
Size:
1.38 KB
patch
obsolete
>From 667c07e0480825da10fa9dba4ae9e9625be51d99 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 25 Oct 2017 13:16:53 -0300 >Subject: [PATCH] Bug 19529: Prevent NoIssuesChargeGuarantees.t to fail > randomly > >Use a categorycode != "X" > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > t/db_dependent/Circulation/NoIssuesChargeGuarantees.t | 5 +++++ > 1 file changed, 5 insertions(+) > >diff --git a/t/db_dependent/Circulation/NoIssuesChargeGuarantees.t b/t/db_dependent/Circulation/NoIssuesChargeGuarantees.t >index c5eda7b43d..201a7650fb 100644 >--- a/t/db_dependent/Circulation/NoIssuesChargeGuarantees.t >+++ b/t/db_dependent/Circulation/NoIssuesChargeGuarantees.t >@@ -42,9 +42,13 @@ my $item = $builder->build( > } > ); > >+my $patron_category = $builder->build({ source => 'Category', value => { categorycode => 'NOT_X', category_type => 'P', enrolmentfee => 0 } }); > my $patron = $builder->build( > { > source => 'Borrower', >+ value => { >+ patron_category => $patron_category->{categorycode}, >+ } > } > ); > my $guarantee = $builder->build( >@@ -52,6 +56,7 @@ my $guarantee = $builder->build( > source => 'Borrower', > value => { > guarantorid => $patron->{borrowernumber}, >+ patron_category => $patron_category->{categorycode}, > } > } > ); >-- >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 19529
: 68539