Bug 20181: (follow-up) Ensure test runs
authorMark Tompsett <mtompset@hotmail.com>
Tue, 13 Feb 2018 18:50:02 +0000 (18:50 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 19 Oct 2018 07:36:22 +0000 (09:36 +0200)
commit54476ebd649c6267bddbbed1593142b552971799
tree32a41c9612761c62151e59d5cbf3f1b3dea5d998
parent73f11b699bc0ed1fd6b49362b0d75486c207a494
Bug 20181: (follow-up) Ensure test runs

If EnablePlugins was 0, this test before this patch fails.
After this patch, it passes.

TEST PLAN
---------
1) Apply all but this patch
2) Run the following commands
    kshell
    prove t/Koha_Template_Plugin_KohaPlugins.t
   -- two tests fail, if you have the conf or syspref set to 0.
3) Apply this patch
4) Repeat step 2.
   -- all tests pass, including the positive and negative case checks.
5) run koha qa test tools

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 9755c34938c42411e4a7e5d897af7335eca6bc13)

Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
t/Koha_Template_Plugin_KohaPlugins.t