]> git.koha-community.org Git - koha.git/commit
Bug 11797: add regression test
authorGalen Charlton <gmc@esilibrary.com>
Tue, 15 Apr 2014 15:38:49 +0000 (15:38 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 6 Aug 2014 09:18:00 +0000 (11:18 +0200)
commit178c50bb802928e71869d076a9d16a012377144a
tree0147c59f08337816cfa8b063030e0c688dfc06f3
parent269eb184e97652c48f8c04bdf512aaef421da5b8
Bug 11797: add regression test

This patch adds unit tests for C4::AuthoritiesMarc::BuildSummary
for both UNIMARC and MARC21 and a regression test for the "Odd
number of elements in anonymous hash" warning.

To test:

[1] Run prove -v t/db_dependent/AuthoritiesMarc.t.  It should
    report one failure.
[2] Apply the main patch.
[3] Run t/db_dependent/AuthoritiesMarc.t again; it should pass.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit f2b655dfabc4a4464099e7d9bc219b6714ef7de1)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
t/db_dependent/AuthoritiesMarc.t