Bug 14456: (regression test) Holdings fields should be skipped by EmbedSeeFromHeadings
authorTomas Cohen Arazi <tomascohen@theke.io>
Wed, 22 Jul 2015 14:22:20 +0000 (11:22 -0300)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 24 Jul 2015 16:39:53 +0000 (13:39 -0300)
commit5e1474836024a9ccd1a9fb4eef91641fba6f8598
treedd71a38d827403668aa58a96b197c0e57a434847
parentfa54a6f04d5e84f8747d268efc2e0e1d175a1ecb
Bug 14456: (regression test) Holdings fields should be skipped by EmbedSeeFromHeadings

This patch introduces a regression test for the situation in which
an itemnumber on a record matches the authid of an authority record
and the current implementation of the EmbedSeeFromHeadings filter
wrongly includes new holding fields with authority data...

To test:
- Apply the patch
- Run:
  $ prove t/db_dependent/RecordProcessor_EmbedSeeFromHeadings.t
=> FAIL: The test 'Holdings fields not processed to introduce See-from heading'
   fails.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
t/db_dependent/RecordProcessor_EmbedSeeFromHeadings.t