Koha-clms/t/db_dependent/SIP
Jonathan Druart 496e507122 Bug 23211: Prevent SIP/Transaction.t to fail randomly
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},

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 466f99e442)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit a38bc66100)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2019-07-25 20:49:45 +00:00
..
ILS.t
…
Message.t Bug 15221: (QA follow-up) Fix Message.t 2019-05-30 20:55:38 +01:00
Patron.t Bug 18625: (QA follow-up) Unit tests 2018-04-11 16:45:10 -03:00
SIPServer.t Bug 18292: Remove return 1 statements in tests 2017-08-15 12:17:42 -03:00
Transaction.t Bug 23211: Prevent SIP/Transaction.t to fail randomly 2019-07-25 20:49:45 +00:00