]> git.koha-community.org Git - koha.git/commit
Bug 17249: Remove GetKohaAuthorisedValuesFromField - add tests
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 10 Aug 2016 10:28:40 +0000 (11:28 +0100)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 21 Oct 2016 15:13:55 +0000 (15:13 +0000)
commit54410ca823e2c9a7f24f63422612ec0af5c4a163
treeb2243cbfd689c7a6b9ff9ced2944ac5581862261
parentb8c824909ebde8a0d4b39d7340dbb32e7c9856b3
Bug 17249: Remove GetKohaAuthorisedValuesFromField - add tests

This patch adds a few tests to C4::Record::marcrecord2csv
The subroutine was not covered enough to validate that this patch set
won't add regressions.

Note that the patch set will fix an issue: If 2 subfields of a field are
linked to AVs and you want to display them in a CSV, they won't be
replaced with their descriptions.

Test plan:
Apply the patch, and make a copy of t/db_dependent/Record/marcrecord2csv.t
Checkout master and prove marcrecord2csv.t
Tests should fail
Checkout the branch with the whole patch set applied
The tests should pass

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
t/db_dependent/Record/marcrecord2csv.t