Bug 27281: (follow-up) Clean up LostItem test
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 8 Mar 2021 14:59:06 +0000 (14:59 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 23 Apr 2021 09:58:49 +0000 (11:58 +0200)
commit7d2da1382279e94fea46110f07daa8394bdf660c
treebf3c1bb7668baa4c3440297946b0502c9a12a6ae
parentdcd1f2faed412aedff090af95620f87c9a1f7b92
Bug 27281: (follow-up) Clean up LostItem test

The LostItem test was rather messy, and wasn't actually testing much in
reality. This patch cleans it up and adds testing for transfer queue
handling of ListItem cancellations.

Test plan
1/ Confirm t/db_dependent/Circulation.t still passes
2/ Read the tests before and after and confirm that they test what is
required.
3/ Signoff

Signed-off-by: Petro Vashchuk <stalkernoid@gmail.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
t/db_dependent/Circulation.t