[Koha-bugs] [Bug 23211] SIP/Transaction.t is failing randomly

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jun 26 00:42:58 CEST 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23211

--- Comment #1 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
The checkout failed because patron's category is the one used for statistics
(category_type=X).

To recreate the failure:
modified: t/db_dependent/SIP/Transaction.t
@ Transaction.t:37 @ subtest fill_holds_at_checkout => sub {
     plan tests => 6;


-    my $category = $builder->build({ source => 'Category' });
+    my $category = $builder->build({ source => 'Category', value => {
category_type => 'X' }});
     my $branch   = $builder->build({ source => 'Branch' });
     my $borrower = $builder->build({ source => 'Borrower', value =>{
         branchcode => $branch->{branchcode},

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list