Bug 26364: Adjust unit tests
authorNick Clemens <nick@bywatersolutions.com>
Wed, 9 Sep 2020 14:34:26 +0000 (14:34 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 8 Jan 2021 06:37:00 +0000 (07:37 +0100)
commit0b2f0e0b26d462df58bd7d03246bb60bf84b11e5
treec4bf07ab1c9e59fbe76a3b846d50f34fdf46cc25
parentaa50fa80c0d9a83a9c6d9431004d6b8fca1c26b6
Bug 26364: Adjust unit tests

We shouldn't rely on knowing exactly which ISBNs we get, we should specifically
check for what we do or don't expect.

I believe we should return biblios that have the same isbn we passed, as it signlas we have another
biblio in the catalog that matches the one we are on.

To test:
prove -v t/db_dependent/XISBN.t

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit d9063ba246bd020de83bc67964a08855a73ccb24)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
t/db_dependent/XISBN.t