Bug 15479 Add tests for ILS.pm
authorColin Campbell <colin.campbell@ptfs-europe.com>
Thu, 21 Jan 2016 11:30:31 +0000 (11:30 +0000)
committerJulian Maurice <julian.maurice@biblibre.com>
Fri, 26 Feb 2016 13:20:05 +0000 (14:20 +0100)
commit70ec608f917664411c6fc3357ade58a6261dd86f
tree7da4092482ba5aeb79469ebc874e5578b45cca53
parent619060799d5b89c22fe83dfecc229b84a638b0da
Bug 15479 Add tests for ILS.pm

This patch specifically adds a test for the sub added to
resolve Bug 15479. As no test script existed to add this two
added one which also tests that ILS objects can be instantiated
correctly and offer the required interface

NOTE: This does not apply without the first patch.
      Comment #3 suggested a unit test that would fail
      before and pass after. So while this code is good,
      it missed the before case. -- mtompset

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
(cherry picked from commit df4b1552211aae130b2ac31b44f45892c342e28c)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
C4/SIP/ILS.pm
t/SIPILS.t [new file with mode: 0755]