Bug 13075: (followup) remove remaining warnings
authorTomas Cohen Arazi <tomascohen@gmail.com>
Wed, 12 Nov 2014 23:39:05 +0000 (20:39 -0300)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Fri, 14 Nov 2014 12:35:50 +0000 (09:35 -0300)
commit900670bd3bd3d1984dbd23e86e78706ff15288f9
tree8be028f41f121e4e6b0eda2d2af5ff395f6d6959
parent878fa77c30732eb5f37f9bd050286b10b74fb881
Bug 13075: (followup) remove remaining warnings

There's no point creating a MARC record with undef subfields
for testing holds. This patch avoids that so no warnings are shown.

To test:
- Run
  $ prove t/db_dependent/Holds.t
=> FAIL: verify several warnings show
- Apply the patch
- Re-run
=> SUCCESS: no warnings showed.
- Sign off :-D

Regards

NOTE: Not noticable under Ubuntu 12.04 LTS, but verifiable under
      Debian Wheezy.

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
t/db_dependent/Holds.t