Bug 17499: Replace test subroutines with build_object
authorEmmi Takkinen <emmi.takkinen@outlook.com>
Wed, 26 Feb 2020 10:04:08 +0000 (12:04 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 12 Sep 2023 13:16:07 +0000 (10:16 -0300)
commit325e9980488c8877279aff9b786bec8f32e2b4ee
tree30279dfd1c1cd8c80c84cc0b48df914360551a70
parent5ed051b11485e3dccf80317b0aa80b08c1f58b7a
Bug 17499: Replace test subroutines with build_object

This patch replaces subroutines used to build test
objects with call to $builder->build_object.

To test prove that tests are still running with:
prove t/db_dependent/Koha/Patron/Message/*

Sponsored-by: Koha-Suomi Oy
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Michal Denar <black23@gmail.com>
Signed-off-by: Sam Lau <samalau@gmail.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
t/db_dependent/Koha/Patron/Message/Preferences.t
t/db_dependent/Koha/Patron/Message/Transport/Preferences.t
t/db_dependent/Koha/Patron/Message/Transports.t