[Koha-bugs] [Bug 27333] Wrong exception thrown in Koha::Club::Hold::add
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Jan 4 15:17:47 CET 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27333
--- Comment #2 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 114794
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=114794&action=edit
Bug 27333: Throw the right exceptions
If parameters are missing, we need to throw
Koha::Exceptions::MissingParameter exceptions.
To test:
1. Apply the regression tests patch
2. Run:
$ kshell
k$ prove t/db_dependent/Koha/Club/Hold.t
=> FAIL: Tests fail because the method doesn't throw the right
exceptions
3. Apply this patch
4. Repeat 2
=> SUCCESS: Tests pass!
5. Sign off :-D
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list