Bug 12243: add regression test
authorGalen Charlton <gmc@esilibrary.com>
Mon, 19 May 2014 15:37:34 +0000 (15:37 +0000)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 19 May 2014 15:42:56 +0000 (15:42 +0000)
commit59c569ce92a72dc6d60a16e76fb8c4eebc741fcc
tree3ddcca1691765d2a5bf43d2f6e391442a79ce257
parent15e78498ac14dc28b3adf73ffda7938d1d47f9cb
Bug 12243: add regression test

This patch adds a regression test for C4::Koha::NormalizeISBN
throwing an exception when trying to parse an invalid ISBN.

To test:

[1] Run prove -v t/Koha.t.  The last test should fail.
[2] Apply the main patch for this bug.
[3] Run prove -v t/Koha.t again.  This time, the test
    should pass.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
t/Koha.t