Bug 34517: (follow-up) Add test for attribute search field and make cleanup more...
authorNick Clemens <nick@bywatersolutions.com>
Mon, 13 Nov 2023 14:11:13 +0000 (14:11 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 14 Nov 2023 07:35:23 +0000 (08:35 +0100)
commit3f01f6cafcdf92b6bf2c7751a1c122875701a6b9
tree671c2f920a272fb7eebc2a50f60c993819d9fa75
parent16fcc7a92539e6afcb8926ecf8024ed31c46af53
Bug 34517: (follow-up) Add test for attribute search field and make cleanup more robust

This patch adds a test to cover the new functionality of searching an attribute not searched by default.

It also moves the addition of objects to the cleanup array right after they are created. Patrons are added to the front of the array to ensure no constraints are violated when deleting. This change ensures that if the tests die before reachign the end, the data generated is still cleaned up.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
t/db_dependent/selenium/patrons_search.t