]> git.koha-community.org Git - koha.git/commit
Bug 31086: (QA follow-up) Add unit tests
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 12 Jul 2022 15:22:46 +0000 (16:22 +0100)
committerArthur Suzuki <arthur.suzuki@biblibre.com>
Mon, 12 Sep 2022 11:59:19 +0000 (13:59 +0200)
commitd7808795650bdef6b6adcc0079373f70b07ad4ea
treee575ba146fa591d7c08883618f75c91bf41b9aeb
parent503b67cbdde7b25933ff8a560127811f7dda82e6
Bug 31086: (QA follow-up) Add unit tests

This patch adds the unit tests for the change to Koha::Hold::store.

We test for and catch the exception introduced for both the create and
update cases.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit f0685f0f4053da428ab13d9f3991790fb71b7e55)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit bc95ffa3e3f97738f54ce56e2af0422bfc05bc57)
Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
t/db_dependent/Koha/Hold.t