]> git.koha-community.org Git - koha.git/commit
Bug 14909: Warnings from search_utf8.t when empty idx= misses in base
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Mon, 28 Sep 2015 10:17:39 +0000 (12:17 +0200)
committerTomas Cohen Arazi <tomascohen@unc.edu.ar>
Mon, 28 Sep 2015 14:48:52 +0000 (11:48 -0300)
commit71a9b187d86bd5f7c3679d38b3919c9260c3feef
treedcb6598116bd3181e16e9e62aef6298ff78adb61
parentd7d64c0718cfbb816e9677baecf722427060d3b5
Bug 14909: Warnings from search_utf8.t when empty idx= misses in base

The regex in this test looks like:
  opac-search.pl\?idx=&q=%CE%91%CE%B8%CE%AE%CE%BD%CE%B1
The result it got was:
  opac-search.pl?q=%CE%91%CE%B8%CE%AE%CE%BD%CE%B1

The empty idx should not be a reason to fail the test. I changed the
original regex to make the 'idx=&' part optional and added a base_unlike
test to verify that the base does not include a idx=\w+ anywhere.

Also corrected the typo Goog. Good!

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
All 66 tests now pass with me.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar>
t/db_dependent/www/search_utf8.t