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)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 10 Jun 2016 17:42:03 +0000 (17:42 +0000)
commit740cb37e94d80a8beb41710f5e57d6e4a46fc17a
treec29cb89071c023341c065f1c5b2e1be8a346594c
parentf38a9927a3d27709173564848bda4a4a61abeadb
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>
t/db_dependent/Hold.t