Bug 24458: Regression tests
authorTomas Cohen Arazi <tomascohen@theke.io>
Mon, 11 May 2020 13:08:36 +0000 (10:08 -0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 15 May 2020 08:33:22 +0000 (09:33 +0100)
commit0524f3b6d6a96e9016802a2a4d4ea3a27ef0d2fa
treea88d88e39ba6d71d194b7a5f716fd97423e03e78
parent009007b8092d2973e66cbabd782613ee72265763
Bug 24458: Regression tests

This patch introduces tests for searchResults. The idea is to set a
subfield as hidden in OPAC and another on the staff interface, and see
if searchResults honours this on the XSLTResultsRecord contents.

To test:
1. Apply this patch
2. Run:
   $ kshell
  k$ prove t/db_dependent/Search.t
=> FAIL: This is not really implemented

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
t/db_dependent/Search.t