]> git.koha-community.org Git - koha.git/commit
Bug 17989: (QA follow-up) Replace bad dots in SuggestionEngine_ExplodedTerms.t
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Fri, 27 Oct 2017 05:49:51 +0000 (07:49 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 1 Nov 2017 16:10:18 +0000 (13:10 -0300)
commitaa4269777c5893a3f5ecdec65877c2cec88e3ba3
tree5a076fded49e4721037cfd2f1f5ecaa9e0c7c00f
parentbc0012de2eda1b9f077459df757fd82ea07ca343
Bug 17989: (QA follow-up) Replace bad dots in SuggestionEngine_ExplodedTerms.t

SuggestionEngine_ExplodedTerms.t uses paths like /../.. or /.. in order
to find a template in opac-tmpl.
Sub badtemplatecheck does not like these paths.
Using Cwd::abs_path to resolve the situation (rel2abs does not).

Test plan:
Run again t/db_dependent/SuggestionEngine_ExplodedTerms.t

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
t/db_dependent/SuggestionEngine_ExplodedTerms.t