]> git.koha-community.org Git - koha.git/commit
Bug 25006: Regression tests
authorTomas Cohen Arazi <tomascohen@theke.io>
Fri, 27 Mar 2020 19:36:25 +0000 (16:36 -0300)
committerJoy Nelson <joy@bywatersolutions.com>
Tue, 28 Apr 2020 20:29:17 +0000 (20:29 +0000)
commit2fd3ac8b52e7ab4f2c8f292afb060078b2894554
treea03b595bc155fd6d43ee8d0321c390a2857f2c17
parent4f868dc0b802c542a6746a15280e6349b64efa63
Bug 25006: Regression tests

This patch introduces regression tests for as_marc_field. It makes sure
there are empty subfields and then uses List::MoreUtils' all to verify
all generated MARC subfields contain something (i.e. the undef ones are
skipped).

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
t/db_dependent/Koha/Item.t