Bug 15395: Add unit tests for extract_messages_from_templates
authorJulian Maurice <julian.maurice@biblibre.com>
Thu, 25 Oct 2018 11:44:43 +0000 (13:44 +0200)
committerNick Clemens <nick@bywatersolutions.com>
Thu, 8 Nov 2018 15:55:51 +0000 (15:55 +0000)
commiteae72c6712d1eec517afb428ca0c013aada4c706
tree3d4cf6b03fcd813f7c6a3551db3a86ec00b06780
parent7ada579ae056537cd8fb87eaaedaabd84ec62689
Bug 15395: Add unit tests for extract_messages_from_templates

Because LangInstaller use FindBin to define some paths, the test
produces warnings about a missing directory. I'm not sure how we can
avoid that.

Test plan:
  1. prove t/LangInstaller.t

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
misc/translator/LangInstaller.pm
t/LangInstaller.t [new file with mode: 0644]
t/LangInstaller/templates/simple.tt [new file with mode: 0644]