Bugzilla – Attachment 95524 Details for
Bug 24062
Circulation tests fail randomly if patron category type is 'X'
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24062: [DO NOT PUSH] Proof
Bug-24062-DO-NOT-PUSH-Proof.patch (text/plain), 1.40 KB, created by
Jonathan Druart
on 2019-11-19 09:22:06 UTC
(
hide
)
Description:
Bug 24062: [DO NOT PUSH] Proof
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2019-11-19 09:22:06 UTC
Size:
1.40 KB
patch
obsolete
>From dcb36a038ccfeed349a9f3103ab3816bfb94e92b Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 19 Nov 2019 09:40:07 +0100 >Subject: [PATCH] Bug 24062: [DO NOT PUSH] Proof > >Only apply this patch and confirm the assumption is correct (test was >failing because X was generated for the patron category's type) >--- > t/db_dependent/Circulation.t | 8 ++++++++ > 1 file changed, 8 insertions(+) > >diff --git a/t/db_dependent/Circulation.t b/t/db_dependent/Circulation.t >index e35b59fe51..471983bdb5 100755 >--- a/t/db_dependent/Circulation.t >+++ b/t/db_dependent/Circulation.t >@@ -1956,6 +1956,13 @@ subtest 'CanBookBeIssued + AutoReturnCheckedOutItems' => sub { > plan tests => 2; > > my $library = $builder->build( { source => 'Branch' } ); >+ my $patron_category_x = $builder->build_object( >+ { >+ class => 'Koha::Patron::Categories', >+ value => { category_type => 'X' } >+ } >+ ); >+ > my $patron1 = $builder->build_object( > { > class => 'Koha::Patrons', >@@ -1971,6 +1978,7 @@ subtest 'CanBookBeIssued + AutoReturnCheckedOutItems' => sub { > class => 'Koha::Patrons', > value => { > branchcode => $library->{branchcode}, >+ categorycode => $patron_category_x->categorycode, > firstname => "Billy", > surname => "Madison", > } >-- >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 24062
:
95524
|
95525
|
95526
|
95541
|
95542
|
95543
|
95549
|
95550