Bug 34639: Add tests
authorLari Taskula <lari.taskula@hypernova.fi>
Tue, 29 Aug 2023 09:34:04 +0000 (09:34 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 8 Sep 2023 14:55:01 +0000 (11:55 -0300)
commit1395bc00eb6bd9ec3d3f36d970972dc960ae6de8
tree92392cb933c9ca66e9d5f636b8d166fcda5900f0
parent7c28ce8ddcc71b53bfb8b232b6cffb0beb508e35
Bug 34639: Add tests

To reproduce:

1. Add an item to library A
2. Go to Circulation -> Transfer
3. Transfer the item from library A to another library B
4. Set your currently logged in library to library B
5. Check-in the item
6. Observe message "Item received from A"
7. View the bibliographic record of the item (catalogue/detail.pl)
8. Observe item in "In transit from A to B since xx/xx/xxxx Available"

To test:
1. prove t/db_dependent/Koha/Item.t

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
t/db_dependent/Koha/Item.t