Commit Graph

2 Commits

Author SHA1 Message Date
Tomas Cohen Arazi f508096d92 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>
(cherry picked from commit 9a30183671)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
2016-12-19 11:35:58 +01:00
Kyle M Hall 8156e86a30 Bug 17494: Prevent duplicate tokens from getting stored
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Mason James <mtj@kohaaloha.com>
(cherry picked from commit d76cd8a639)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
2016-12-19 11:35:57 +01:00