Bug 21233: Unit tests
authorTomas Cohen Arazi <tomascohen@theke.io>
Thu, 16 Aug 2018 09:54:53 +0000 (06:54 -0300)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 14 Sep 2018 17:54:13 +0000 (17:54 +0000)
commit5d2ef635627fd35f721c086e7b6491a7e82b958a
treebc8b523ec0e515fa9a482454f0d12fd755724dc4
parent0c4460c2fbb6fb678381921911d9030419cc9700
Bug 21233: Unit tests

This patch adds tests for the required password-related exceptions. The
tests verify the stringified version of the exceptions.

To test:
- Apply this patch
- Run:
  $ kshell
 k$ prove t/Koha/Exceptions.t
=> FAIL: Exceptions not implemented, tests fail!

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
t/Koha/Exceptions.t