Bug 32240: Prevent erm_users.t to fail if checkout exist
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 17 Nov 2022 08:51:42 +0000 (09:51 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Thu, 17 Nov 2022 16:39:44 +0000 (13:39 -0300)
commit32aceb32d43003432f802ecee1991ef27cd7b88f
treecc4de037bedf03f7810e72ad804dd3c41b2ff483
parent1d176ae10af52c10a9e4be5b8a6a6b6d741d373a
Bug 32240: Prevent erm_users.t to fail if checkout exist

We should not (never) remove all patrons before tests

Test plan:
0. Don't apply the patch
1. Check an item out
2. Run the tests
=> Fail
3. Apply the patch
4. Create a patron with the erm permission
5. Run the tests
=> Must return green

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
t/db_dependent/api/v1/erm_users.t