Bug 11175: Add tests
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 26 Oct 2021 13:16:54 +0000 (15:16 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 26 Oct 2021 14:46:02 +0000 (16:46 +0200)
commit9b05b534b947ab313c929192133a59d01cfd9e07
treeda22214a4318c7f27bfcbbbbcf1c3e15aeeb1e61
parent2ecbf3a3469bd53d5cb86a825f2df9d169df49af
Bug 11175: Add tests

Add coverage for the message set by get_marc_components when the search
fails.
Also cleans a bit the weird return comparisons.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/Biblio.pm
t/db_dependent/Koha/Biblio.t