]> git.koha-community.org Git - koha.git/commit
Bug 15467: If authtypecode is not defined, do not explode
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 5 Jan 2016 10:23:16 +0000 (10:23 +0000)
committerBrendan A Gallagher <brendan@bywatersolutions.com>
Thu, 7 Jan 2016 19:03:27 +0000 (19:03 +0000)
commit72f96d3e3ba744084b4548b4d0ffc4f7d4ec94b2
tree23e79fab5994fab06fdfa8aea695fa46b2c2437d
parentbca01829c9bb86f5183d8a1bf93236ec8cf67be2
 Bug 15467: If authtypecode is not defined, do not explode

The test t/db_dependent/AuthoritiesMarc.t fails because one test expect
the BuildSummary subroutine to not crash if the authtypecode passed in
parameter does not exist in the DB.

Test plan:
prove t/db_dependent/AuthoritiesMarc.t
should return green.

Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
  Test fails before patch, and doesn't anymore after.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
C4/AuthoritiesMarc.pm