]> git.koha-community.org Git - koha.git/commit
Bug 17494: (QA followup) Fix exception name
authorTomas Cohen Arazi <tomascohen@theke.io>
Fri, 4 Nov 2016 15:18:57 +0000 (12:18 -0300)
committerMason James <mtj@kohaaloha.com>
Mon, 12 Dec 2016 01:54:07 +0000 (14:54 +1300)
commit9a301836714924581b806cd7c728695625ddf3cc
treedc672512ce38b4702b5bd8e274f309561821b878
parentd76cd8a63946572508f4a7d8b8ee8d06c63ddb09
Bug 17494: (QA followup) Fix exception name

This patch changes the exception name to match the package name. And
also adds a test for the thrown exception message.

Also creates a general Koha::Exception::Patron::Modification exception
to make the new one inherit from it, following the common use in the codebase.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Mason James <mtj@kohaaloha.com>
Koha/AudioAlert.pm
Koha/Exceptions/Patron/Modification.pm
t/db_dependent/Koha_borrower_modifications.t