Bug 32268: Prevent XSLT.t to fail randomly
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 18 Nov 2022 13:41:51 +0000 (14:41 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 18 Nov 2022 15:04:28 +0000 (12:04 -0300)
commitcb7b9b37c9908a88d7e1d2bb769c1ae89f36099d
tree59d65ecc52e61e55c0f697fdfcf18470e0a0ffab
parent3d8ff90a8fd822516886bd0e4b4cc9e8b1e2fdf6
Bug 32268: Prevent XSLT.t to fail randomly

Can't call method "itemnumber" on an undefined value at /kohadevbox/koha/Koha/Recall.pm line 343.

We should set item_level and not let TestBuilder pick a value.

This may have been caught (make it more obvious) by the recent change to
TestBuilder for boolean (Bug 32030: fix test builder for boolean)

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
t/db_dependent/XSLT.t