]> 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)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 2 Sep 2022 17:08:24 +0000 (17:08 +0000)
commitbc95ffa3e3f97738f54ce56e2af0422bfc05bc57
treebd615dce31890216666f2f608aa1db55ce10b776
parent51f33cbc209b37b20fb8ae8e9f1003940e672084
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>
t/db_dependent/Koha/Hold.t