]> git.koha-community.org Git - koha.git/commit
Bug 24458: Regression tests
authorTomas Cohen Arazi <tomascohen@theke.io>
Mon, 11 May 2020 13:08:36 +0000 (10:08 -0300)
committerVictor Grousset/tuxayo <victor@tuxayo.net>
Tue, 9 Jun 2020 16:48:20 +0000 (18:48 +0200)
commitba884d407a4b7ac858b68b4958e3f234e1b616da
tree273aee0905c57af78d3aa893acd052fcaf811604
parent015cc7d4fe81804388dfedd166c0fde5f43b4295
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>
(cherry picked from commit 448915cc3d8dcd92ce93736bea09a5a0a113dc03)
t/db_dependent/Search.t