Bug 20181: (follow-up) Ensure test runs
authorMark Tompsett <mtompset@hotmail.com>
Tue, 13 Feb 2018 18:50:02 +0000 (18:50 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 6 Apr 2018 17:51:38 +0000 (14:51 -0300)
commit9755c34938c42411e4a7e5d897af7335eca6bc13
tree6649886577458e923c4b71e59e3022645448daf4
parent98164dc43209af9964b84e83f2ee8f0ff7491a35
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>
t/Koha_Template_Plugin_KohaPlugins.t