Bug 11797: add regression test
authorGalen Charlton <gmc@esilibrary.com>
Tue, 15 Apr 2014 15:38:49 +0000 (15:38 +0000)
committerGalen Charlton <gmc@esilibrary.com>
Tue, 15 Apr 2014 16:01:24 +0000 (16:01 +0000)
commitf2b655dfabc4a4464099e7d9bc219b6714ef7de1
tree8009afdfdfbb3f45554624cce05577be262f6472
parentc212b9328edd69a8e8f5082674a9f29741d159ee
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>
t/db_dependent/AuthoritiesMarc.t