]> 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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 3 Apr 2020 13:26:33 +0000 (14:26 +0100)
commite986d4d0ad98cb5ac8d54d8d30cbf2f4fcb14417
treea74dd32877bbaf8604d7a825cab67c84cc7ee619
parent192b9d55a05414bf3e8d64eeaba1926a20ec8ba8
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>
t/db_dependent/Koha/Item.t