]> git.koha-community.org Git - koha.git/commit
Bug 16609: Catch warning from Koha::Hold in Hold.t
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Fri, 27 May 2016 12:02:42 +0000 (14:02 +0200)
committerFrédéric Demians <f.demians@tamil.fr>
Wed, 15 Jun 2016 07:04:06 +0000 (09:04 +0200)
commite8cca084407e888db19d13930c22e59662a9690f
tree72b596cbc2b3db8012fa815fec8df6a0d57d1e5a
parent0cc550dcc3d0c05b9688bb590a827671f5f8ee95
Bug 16609: Catch warning from Koha::Hold in Hold.t

Before this patch, the suspend step triggers a warn from Koha::Hold.
Now we catch it.

Test plan:
Run the test. Do not see the warning about unable to suspend.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
NOTE: Nice clean up!

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 740cb37e94d80a8beb41710f5e57d6e4a46fc17a)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
t/db_dependent/Hold.t