Bug 22001: Remove the RaiseError occurrences from tests
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 14 Dec 2018 16:30:52 +0000 (13:30 -0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 27 Mar 2020 08:52:56 +0000 (08:52 +0000)
commit2849b188c885bb6752e9e5c7db381e291ed4bb30
tree2a90bcccd1811f517c2cfa28bd65568beb46b53e
parentdcc93816914d467191481542f318c1c8ca415105
Bug 22001: Remove the RaiseError occurrences from tests

Unless it is needed!
Also remove $dbh when not used later.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
36 files changed:
t/db_dependent/Acquisition.t
t/db_dependent/Acquisition/CancelReceipt.t
t/db_dependent/Acquisition/GetBasketsInfosByBookseller.t
t/db_dependent/Acquisition/GetOrdersByBiblionumber.t
t/db_dependent/Acquisition/Invoices.t
t/db_dependent/Acquisition/NewOrder.t
t/db_dependent/Acquisition/OrderFromSubscription.t
t/db_dependent/Acquisition/TransferOrder.t
t/db_dependent/Acquisition/close_reopen_basket.t
t/db_dependent/Acquisition/populate_order_with_prices.t
t/db_dependent/ArticleRequests.t
t/db_dependent/AudioAlerts.t
t/db_dependent/Auth_with_cas.t
t/db_dependent/Bookseller.t
t/db_dependent/Circulation.t
t/db_dependent/Circulation/GetTopIssues.t
t/db_dependent/Circulation/IssuingRules/maxsuspensiondays.t
t/db_dependent/CourseReserves.t
t/db_dependent/DecreaseLoanHighHolds.t
t/db_dependent/Filter_MARC_ViewPolicy.t
t/db_dependent/Holds/RevertWaitingStatus.t
t/db_dependent/Installer.t
t/db_dependent/Items.t
t/db_dependent/Koha/Acquisition/Currencies.t
t/db_dependent/Koha_Misc_Files.t
t/db_dependent/Letters.t
t/db_dependent/Letters/TemplateToolkit.t
t/db_dependent/Passwordrecovery.t
t/db_dependent/Patron/Relationships.t
t/db_dependent/Reports/Guided.t
t/db_dependent/Serials/Frequency.t
t/db_dependent/Serials/GetNextSeq.t
t/db_dependent/Serials/Numberpattern.t
t/db_dependent/Serials_2.t
t/db_dependent/ShelfBrowser.t
t/db_dependent/cronjobs/advance_notices_digest.t