Bug 24295: Replace mock in t/db_dependent/Circulation/transferbook.t
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 15 Mar 2021 16:41:41 +0000 (16:41 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 26 Aug 2022 18:42:39 +0000 (15:42 -0300)
commitaa8a9f660c3148a570882c7f4ef90154734dc75b
tree062747adbcd06d9c4460ee7296e38ddd3a57dcf1
parent02670978f356d18cdbea341c08d7bd5da5ec77fd
Bug 24295: Replace mock in t/db_dependent/Circulation/transferbook.t

Replace the call to GetTransfers with the get_transfer method in
Koha::Item in transferbook.t

Test plan
1/ Run t/db_dependent/Circulation/transferbook.t
2/ Confirm it passes
3/ Apply patch
4/ Repeat steps 1-2

Rebased-by: Joonas Kylmälä <joonas.kylmala@iki.fi>
Signed-off-by: Joonas Kylmälä <joonas.kylmala@iki.fi>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
t/db_dependent/Circulation/transferbook.t