Bug 24458: Regression tests
authorTomas Cohen Arazi <tomascohen@theke.io>
Mon, 11 May 2020 13:08:36 +0000 (10:08 -0300)
committerJoy Nelson <joy@bywatersolutions.com>
Wed, 20 May 2020 20:59:53 +0000 (20:59 +0000)
commit448915cc3d8dcd92ce93736bea09a5a0a113dc03
tree18a9d0d5fbf0df26b5769da8b78a231bca817c21
parent4178233de18d8bb94ebc65e7a8d1f6afec6aeff2
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>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
t/db_dependent/Search.t