Bugzilla – Attachment 68014 Details for
Bug 19455
Circulation/SwitchOnSiteCheckouts.t is failing randomly
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19455: Prevent SwitchOnSiteCheckouts.t to fail randomly
Bug-19455-Prevent-SwitchOnSiteCheckoutst-to-fail-r.patch (text/plain), 1.17 KB, created by
Jonathan Druart
on 2017-10-12 14:21:24 UTC
(
hide
)
Description:
Bug 19455: Prevent SwitchOnSiteCheckouts.t to fail randomly
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2017-10-12 14:21:24 UTC
Size:
1.17 KB
patch
obsolete
>From 307e55a7debdf5e1c960cbfea443b6b160c0ce9a Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 12 Oct 2017 11:19:40 -0300 >Subject: [PATCH] Bug 19455: Prevent SwitchOnSiteCheckouts.t to fail randomly > >If categorycode is 'X', the test will fail > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > t/db_dependent/Circulation/SwitchOnSiteCheckouts.t | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/t/db_dependent/Circulation/SwitchOnSiteCheckouts.t b/t/db_dependent/Circulation/SwitchOnSiteCheckouts.t >index 3397e23ab8..8a7fb5202d 100644 >--- a/t/db_dependent/Circulation/SwitchOnSiteCheckouts.t >+++ b/t/db_dependent/Circulation/SwitchOnSiteCheckouts.t >@@ -50,11 +50,13 @@ my $branch = $builder->build({ > source => 'Branch', > }); > >+my $patron_category = $builder->build({ source => 'Category', value => { categorycode => 'NOT_X', category_type => 'P', enrolmentfee => 0 } }); > my $patron = $builder->build({ > source => 'Borrower', > value => { > branchcode => $branch->{branchcode}, > debarred => undef, >+ categorycode => $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 19455
: 68014